forked from zino-hofmann/graphql-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
56 lines (47 loc) · 1.49 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
name: graphql_flutter
ide:
intellij: true
packages:
- packages/**
scripts:
analyze:
run: melos exec -c 1 -- "dart fmt --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 fmt --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 fmt --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
format: dart format -o write .