-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
87 lines (77 loc) · 1.99 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: altfire
repository: https://github.com/altive/altfire
packages:
- packages/**
- example
command:
bootstrap:
runPubGetInParallel: true
environment:
sdk: ^3.0.0
dependencies:
firebase_analytics: ^11.3.3
firebase_auth: ^5.3.1
firebase_core: ^3.6.0
firebase_crashlytics: ^4.1.3
firebase_crashlytics_platform_interface: ^3.6.44
firebase_in_app_messaging: ^0.8.0+8
firebase_messaging: ^15.1.3
firebase_performance: ^0.10.0+8
firebase_remote_config: ^5.1.3
clean:
hooks:
post: |
melos exec --flutter -- "flutter clean"
version:
workspaceChangelog: false
scripts:
custom_lint:
exec: dart run custom_lint
description: Run custom_lint.
packageFilters:
dependsOn: "custom_lint"
# Issue on file exclusion feature: https://github.com/dart-lang/dart_style/issues/864
# NOTE: Using the `exec:` format causes processing to stop
format:ci:
run: |
melos exec -- \
dart format --set-exit-if-changed lib/
description: Run dart format for CI.
packageFilters:
dirExists: lib
fix:
exec: dart fix --apply lib
description: Run dart fix.
packageFilters:
dirExists: lib
test:
run: flutter test
exec:
failFast: true
description: Run flutter test.
packageFilters:
dirExists: test
test:ci:
run: flutter test --coverage
exec:
failFast: true
description: Run flutter test for CI.
packageFilters:
dirExists: test
pod:
description: Run all pod install.
steps:
- pod:ios
- pod:macos
pod:ios:
description: Run pod install on iOS.
exec: cd ios && rm -f Podfile.lock && pod install --repo-update
packageFilters:
dirExists: [lib, ios]
fileExists: "ios/Podfile"
pod:macos:
description: Run pod install on macOS.
exec: cd macos && rm -f Podfile.lock && pod install --repo-update
packageFilters:
dirExists: [lib, macos]
fileExists: "macos/Podfile"