forked from Lyokone/flutterlocation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
52 lines (47 loc) · 1.37 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
name: location
packages:
- packages/**
scripts:
lint:all:
run: melos run analyze && melos run format
description: Run all static analysis checks
analyze:
run: |
melos exec -c 5 -- \
dart analyze . --fatal-infos
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
format:
run: melos exec -c 5 -- flutter format .
description: |
Format all files.
test:all:
run: melos run test --no-select && melos run test:mobile_e2e --no-select
description: Run all tests available on stable channel
test:
run: |
melos exec -c 6 --fail-fast -- \
"flutter test --no-pub --coverage"
description: Run `flutter test` for a specific package.
select-package:
dir-exists:
- test
ignore:
- "*web*"
- "*example*"
test:mobile_e2e:
run: |
melos exec -c 1 --fail-fast -- \
"flutter drive --target=./test_driver/MELOS_PARENT_PACKAGE_NAME_e2e.dart"
description: |
Run all Android or iOS test driver e2e tests in a specific example app.
- Requires an Android emulator or iOS simulator.
select-package:
dir-exists:
- test_driver
scope: "*example*"
ignore:
- "*firebase_ml_custom*"
- "*firebase_ml_vision*"
- "*firebase_admob*"