forked from MaikuB/flutter_local_notifications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
79 lines (74 loc) · 2.1 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
name: flutter_local_notifications
repository: https://github.com/MaikuB/flutter_local_notifications
packages:
- flutter_local_notifications/*
- flutter_local_notifications_linux/*
- flutter_local_notifications_platform_interface/*
- "**/example/*"
command:
bootstrap:
usePubspecOverrides: true
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 -c 1 -- "flutter test"
select-package:
dir-exists:
- test
test:unit:android:
description: Runs java unit tests
run: melos exec -c 1 -- "flutter build apk --debug && cd android && ./gradlew flutter_local_notifications:testDebug"
select-package:
scope: "*example*"
test:integration:
run: melos exec -c 1 -- "flutter test integration_test"
description: Run integration tests
select-package:
dir-exists:
- integration_test
scope: "*example*"
build:example_android:
run: |
melos exec -c 1 -- \
"flutter build apk --debug"
description: Build a specific example app for Android.
select-package:
dir-exists:
- android
scope: "*example*"
build:example_ios:
run: |
melos exec -c 1 -- \
"flutter build ios --no-codesign --debug"
description: Build a specific example app for iOS.
select-package:
dir-exists:
- ios
scope: "*example*"
build:example_macos:
run: |
melos exec -c 1 -- \
"flutter build macos"
description: Build a specific example app for macOS.
select-package:
dir-exists:
- macos
scope: "*example*"
build:example_linux:
run: |
melos exec -c 1 -- \
"flutter build linux"
description: Build a specific example app for Linux.
select-package:
dir-exists:
- linux
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 .