forked from bytedance/flutter_ume
-
Notifications
You must be signed in to change notification settings - Fork 1
/
melos.yaml
44 lines (39 loc) · 888 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: byte_live_demo
packages:
- kits/flutter_ume_kit_*
- example
- custom_plugin_example
- .
command:
bootstrap:
usePubspecOverrides: true
runPubGetInParallel: false
scripts:
run:demo:
run: |
melos exec -c 6 --fail-fast -- \
"flutter run"
description: Run demo app.
select-package:
scope:
- 'example'
build:example_android:
run: |
melos exec -c 6 --fail-fast -- \
"flutter build apk --no-pub"
description: Build a specific example app for Android.
select-package:
dir-exists:
- android
scope:
- 'example'
build:example_ios:
run: |
melos exec -c 6 --fail-fast -- \
"flutter build ios --no-codesign --no-pub"
description: Build a specific example app for iOS.
select-package:
dir-exists:
- ios
scope:
- 'example'