forked from magillus/flutter-fimber
-
Notifications
You must be signed in to change notification settings - Fork 1
/
melos.yaml
48 lines (44 loc) · 1.21 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
name: flutter-fimber
sdkPath: .fvm/flutter_sdk
command:
bootstrap:
# It seems so that running "pub get" in parallel has some issues (like
# https://github.com/dart-lang/pub/issues/3404). Disabling this feature
# makes the CI much more stable.
runPubGetInParallel: false
packages:
- fimber
- fimber_io
- flutter_fimber
- flutter_fimber/*
scripts:
lint:all:
name: lint:all
run: melos run analyze && melos run format
description: |
Run all static analysis checks.
analyze:
# We are setting the concurrency to 1 because a higher concurrency can crash
# the analysis server on low performance machines (like GitHub Actions).
run: |
melos exec -c 1 -- \
dart analyze .
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
format:
run: |
dart format .
description: |
Run `dart format` in all packages.
test:
run: |
melos exec -c 6 --fail-fast -- \
"flutter test"
description: Run `flutter test` for a specific package.
packageFilters:
dirExists:
- test
ignore:
- "*example*"
- "flutter_fimber"