-
Notifications
You must be signed in to change notification settings - Fork 246
/
melos.yaml
57 lines (52 loc) · 1.36 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: flutter_appauth
repository: https://github.com/MaikuB/flutter_appauth
command:
bootstrap:
usePubspecOverrides: true
packages:
- flutter_appauth
- flutter_appauth_platform_interface
- flutter_appauth/example/
ide:
intellij: false
scripts:
analyze:
run: melos exec -c 1 -- "dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
test:unit:
description: Run unit tests in a specific package.
run: melos exec --concurrency=1 -- "flutter test"
packageFilters:
dirExists:
- test
build:example_android:
run: |
melos exec -c 1 -- \
"flutter build apk"
description: Build a specific example app for Android.
packageFilters:
dirExists:
- android
scope: "*example*"
build:example_ios:
run: |
melos exec -c 1 -- \
"flutter build ios --no-codesign"
description: Build a specific example app for iOS.
packageFilters:
dirExists:
- ios
scope: "*example*"
build:example_macos:
run: |
melos exec -c 1 -- \
"flutter build macos"
description: Build a specific example app for macOS.
packageFilters:
dirExists:
- macos
scope: "*example*"
clean:
run: git clean -x -d -f -q
description: Runs git clean as though repo was just checked out
format: dart format -o write .