-
Notifications
You must be signed in to change notification settings - Fork 1
/
melos.yaml
41 lines (35 loc) · 1.12 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
name: suamusica-packages
packages:
- packages/**
# command:
# version:
# # Generate commit links in package changelogs.
# linkToCommits: true
# # Only allow versioning to happen on main branch.
# branch: master
# # Additionally build a changelog at the root of the workspace.
# workspaceChangelog: true
scripts:
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.
fix:
run: |
melos exec -c 5 -- \
dart fix . --apply
description: |
Run `dart fix` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
test:selective_unit_test:
run: melos exec --dir-exists="test" --fail-fast -- flutter test --no-pub --coverage
description: Run Flutter tests for a specific package in this project.
select-package:
flutter: true
dir-exists: test
test:
run: melos run test:selective_unit_test --no-select
description: Run all Flutter tests in this project.