-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
50 lines (40 loc) · 1.24 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
name: kuama
packages:
- '*/*'
# Docs: https://github.com/invertase/melos/blob/main/docs/configuration/scripts.mdx
scripts:
clean:
description: Clean all
run: melos exec -- "flutter clean"
get:
description: Resolve all dependecies
run: melos exec -- "flutter pub get"
revive:
description: Clean and resolve all dependencies
run: |
melos exec -- "flutter clean"
melos exec -- "flutter pub get"
upgrade:
description: Update your git dependecies to last
run: melos exec -- "flutter pub upgrade kuama_flutter"
format:
description: Analyze code format
run: >
find .
-path "./**/lib/**"
-name "*.dart"
! -name "*.g.dart"
| tr '\n' ' ' | xargs flutter format -l 100 --set-exit-if-changed
analyze:
description: Analyze code
run: melos exec -f -- "flutter analyze --no-pub --no-fatal-infos"
test:
description: Resolve all dependecies
run: melos exec --fail-fast -- "flutter test --no-pub"
select-package:
scope: [ kuama_permissions, kuama_position ]
build:index:
description: Generate index files
run: melos exec -- "dart pub global run index_generator"
select-package:
scope: [ kuama_permissions, kuama_position ]