-
Notifications
You must be signed in to change notification settings - Fork 7
/
melos.yaml
57 lines (47 loc) · 1.34 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
name: GitsLibrary
packages:
- packages/**
scripts:
lint:
run: melos run analyze && melos run format:exit-if-changed
description: Run all static analysis checks
analyze:
run: |
melos exec -c 5 -- \
dart analyze . --fatal-infos
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
format:
run: flutter format .
description: |
Run `flutter format .` in all packages.
format:exit-if-changed:
run: flutter format --set-exit-if-changed .
description: |
Run `flutter format --set-exit-if-changed .` in all packages.
clean:all:
run: melos exec -c 5 -- \
flutter clean
get:
run: melos exec -c 3 -- \
flutter packages get
test:
run: melos exec -c 3 -- \
flutter test
build:runner:
run: melos exec -c 1 -- \
flutter pub run build_runner build --delete-conflicting-outputs
upgrade:major:
run: |
melos exec -c 5 -- \
flutter pub upgrade --major-versions
description: |
Run `flutter pub upgrade --major-versions` in all packages.
- Note: this is can make break change for all package.
upgrade:
run: |
melos exec -c 5 -- \
flutter pub upgrade
description: |
Run `flutter pub upgrade' in all packages.