-
Notifications
You must be signed in to change notification settings - Fork 2
/
melos.yaml
44 lines (34 loc) · 844 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: nippo
packages:
- ./
sdkPath: '.fvm/flutter_sdk'
scripts:
pub:upgrade:
exec: flutter pub upgrade
packageFilters:
flutter: true
# ref. https://github.com/firebase/flutterfire/blob/27a7f44e02f2ed533e0249622afdd0a421261385/melos.yaml#L27-L32
analyze:
run: |
melos exec -c 1 -- \
dart analyze . --fatal-infos
run:custom_lint:
run: |
melos exec --fail-fast --depends-on=custom_lint \
-- "dart run custom_lint"
fix:format:
exec: melos run fix && melos run format
fix:
exec: dart fix --apply .
format:
exec: dart format .
test:
run: |
melos exec --ignore="*example*" --dir-exists=test \
--fail-fast -- \
"flutter test --no-pub"
deploy:web:
run: |
flutter build web
cd ./firebase
firebase deploy --only hosting