-
Notifications
You must be signed in to change notification settings - Fork 140
/
melos.yaml
37 lines (31 loc) · 899 Bytes
/
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
name: patrol
repository: https://github.com/leancodepl/patrol
packages:
- packages/**
scripts:
lint:all:
run: melos run analyze && melos run format-check
description: Run all static analysis checks.
get:all:
run: melos exec -- \
flutter pub get
description: Run `flutter pub get` for all packages.
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.