-
Notifications
You must be signed in to change notification settings - Fork 19
/
melos.yaml
44 lines (35 loc) · 958 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
38
39
40
41
42
43
44
name: algolia_helper
packages:
- helper
- insights
scripts:
analyze:
exec: dart analyze .
format:
exec: dart format .
fix:
exec: dart fix --apply
description: Find and fix static analysis issues in all packages
get:
exec: dart pub get
description: Run `dart pub get` in all packages.
pana:
exec: pana --no-warning --exit-code-threshold 0
description: |
Run pub points check for all packages
lint:pub:
run: |
melos exec -c 5 --no-private "dart pub publish --dry-run"
description: |
Run `pub publish --dry-run` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
test:
run: melos exec -c 1 --fail-fast -- "flutter test --coverage"
description: Run Flutter tests for a specific package in this project.
packageFilters:
flutter: true
dirExists: test
command:
version:
hooks:
post: ./sync_version.sh