-
Notifications
You must be signed in to change notification settings - Fork 11
/
melos.yaml
62 lines (48 loc) · 1.05 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
name: Playbook
repository: https://github.com/playbook-ui/playbook-flutter
packages:
- packages/**
- examples/**
ide:
intellij: true
command:
version:
linkToCommits: true
bootstrap:
hooks:
post:
run: |
melos gen
scripts:
format: melos exec -- flutter format .
analyze: melos exec -- flutter analyze .
clean: melos exec -- flutter clean
upgrade:
run: |
melos exec -- flutter pub upgrade
melos bootstrap
get:
run: melos exec -- flutter pub get
gen:
run: melos gen:all --no-select
gen:all:
run: |
melos exec -- flutter pub run build_runner build --delete-conflicting-outputs
packageFilters:
dependsOn: build_runner
test:
run: melos test:snapshot --no-select
test:snapshot:
run: |
melos exec -- flutter test --update-goldens
packageFilters:
dependsOn:
- playbook_snapshot
dirExists:
- test
test:all:
run: |
melos exec -- flutter test --update-goldens
packageFilters:
dirExists:
- test