forked from zino-hofmann/graphql-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
76 lines (65 loc) · 2.14 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: graphql_flutter
ide:
intellij: true
packages:
- packages/**
scripts:
analyze:
run: melos exec -c 1 -- "dart format --set-exit-if-changed . && dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
select-package:
flutter_analyze:
run: melos exec --depends-on="graphql" -c 1 -- "flutter format --set-exit-if-changed . && flutter analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
select-package:
scope: "graphql_flutter"
client_analyze:
run: melos exec -c 1 -- "dart format --set-exit-if-changed . && dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
select-package:
scope: "graphql"
test:
description: Run tests in a specific package.
run: melos exec --concurrency=2 -- "dart pub get && dart pub run test"
select-package:
dir-exists:
- "test/"
env:
MELOS_TEST: true
flutter_test:
description: Run tests in a specific package.
run: melos exec --depends-on="graphql" --concurrency=2 -- "flutter pub get && flutter test"
select-package:
scope: "graphql_flutter"
dir-exists:
- "test/"
env:
MELOS_TEST: true
client_test:
description: Run tests in a specific package.
run: melos exec --concurrency=2 -- "dart pub get && dart pub run test"
select-package:
scope: "graphql"
dir-exists:
- "test/"
env:
MELOS_TEST: true
flutter_test_coverage:
description: Run tests in a specific package.
run: melos exec --depends-on="graphql" --concurrency=2 -- "flutter test --coverage"
select-package:
scope: "graphql_flutter"
dir-exists:
- "test/"
env:
MELOS_TEST: true
client_test_coverage:
description: Run tests in a specific package.
run: melos exec --concurrency=2 -- "dart run test --coverage="coverage" && dart run coverage:format_coverage --lcov --in=coverage --out=coverage.lcov --packages=.packages --report-on=lib"
select-package:
scope: "graphql"
dir-exists:
- "test/"
env:
MELOS_TEST: true
format: dart format -o write .