-
Notifications
You must be signed in to change notification settings - Fork 39
/
melos.yaml
64 lines (55 loc) · 1.55 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
57
58
59
60
61
62
63
64
name: history_value_notifier_workspace
packages:
- .
- packages/*
- example
command:
version:
updateGitTagRefs: true
workspaceChangelog: false
scripts:
analyze:
run: |
dart analyze . --fatal-infos
exec:
# We are setting the concurrency to 1 because a higher concurrency can crash
# the analysis server on low performance machines (like GitHub Actions).
concurrency: 1
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
test:select:
run: flutter test
exec:
failFast: true
concurrency: 6
packageFilters:
dirExists: test
description: Run `flutter test test` for selected packages.
test:
run: melos run test:select --no-select
description: Run all tests in this project.
coverage:select:
run: |
flutter test --coverage
exec:
failFast: true
concurrency: 6
packageFilters:
dirExists: test
description: Generate coverage for the selected package.
coverage:
run: melos run coverage:select --no-select
description: Generate coverage for all packages.
build_runner:
run: flutter pub run build_runner build --delete-conflicting-outputs
exec:
failFast: false
packageFilters:
dependsOn: build_runner
description: Run `flutter pub run build_runner build --delete-conflicting-outputs` in all packages.
fix:
run: dart fix --apply
exec:
failFast: true
description: Run `dart fix --apply` in all packages.