-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
56 lines (51 loc) · 1.29 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
name: "our_democracy"
packages:
- packages/**
command:
bootstrap:
enforceLockfile: true
environment:
sdk: "^3.5.0"
hooks:
post: melos run gen-l10n && melos run gen
scripts:
get:
description: get dependencies (no lockfile update, linking)
exec: dart pub get
upgrade:
description: upgrade dependencies
exec: dart pub upgrade
clean:
description: clean project
exec: flutter clean
packageFilters:
flutter: true
custom_lint:
description: run custom lint
exec: dart run custom_lint --fatal-infos
packageFilters:
dependsOn:
- custom_lint # All packages _should_ depend on `custom_lint`, but they don't yet.
gen-l10n:
description: generate l10n files
exec: flutter gen-l10n
packageFilters:
flutter: true
gen:
description: run build_runner
exec: dart run build_runner build --delete-conflicting-outputs
packageFilters:
dependsOn:
- build_runner
gen:watch:
description: watch build_runner
exec: dart run build_runner watch
packageFilters:
dependsOn:
- build_runner
test:
description: run tests
exec: dart run very_good_cli:very_good test --coverage --test-randomize-ordering-seed random
packageFilters:
dependsOn:
- very_good_cli