forked from Lyokone/flutterlocation
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
40 lines (34 loc) · 1.02 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
name: flutterlocation
repository: https://github.com/Lyokone/flutterlocation
packages:
- packages/**
scripts:
lint:all:
run: melos run analyze && melos run format-check
description: Run all static analysis checks.
analyze:
run: |
melos exec -- \
flutter analyze --fatal-infos
description: Run `flutter analyze` for all packages.
format:
run: melos exec -- \
dart format . --set-exit-if-changed
description: Run `dart format` checks for all packages.
# TODO: re-add
# dartdoc:
# run: melos exec flutter pub run dartdoc
# description: Run dartdoc checks for all packages.
test:
run: melos exec -- flutter test .
packageFilters:
dirExists:
- 'test'
description: Run `flutter test` for selected packages.
coverage:
run: |
melos exec -- flutter test --coverage &&
melos exec -- genhtml coverage/lcov.info --output-directory=coverage/
packageFilters:
dirExists: test
description: Generate coverage for the selected package.