-
Notifications
You must be signed in to change notification settings - Fork 271
/
melos.yaml
27 lines (25 loc) · 1.07 KB
/
melos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: rxdart
packages:
- examples/**
- packages/**
scripts:
analyze-no-private:
run: melos exec --no-private -- dart analyze .
analyze:
run: melos exec -- dart analyze .
format-no-private:
run: melos exec --no-private -- dart format . --set-exit-if-changed
format:
run: melos exec -- dart format . --set-exit-if-changed
pub-get-no-private:
run: melos exec --no-private -- dart pub get
test-rxdart:
run: |
cd \$MELOS_ROOT_PATH/packages/rxdart
dart pub run test test/rxdart_test.dart --chain-stack-traces
dart --disable-service-auth-codes --enable-vm-service=8111 --pause-isolates-on-exit --enable-asserts test/rxdart_test.dart &
nohup dart pub global run coverage:collect_coverage --port=8111 --out=coverage.json --wait-paused --resume-isolates
dart pub global run coverage:format_coverage --lcov --in=coverage.json --out=lcov.info --report-on=lib
generate:
run: melos exec --depends-on=build_runner -- "dart run build_runner build -d"
description: Build all generated files for Dart & Flutter packages in this project.