-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
melos.yaml
81 lines (75 loc) · 2.17 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
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
- flutter_local_notifications/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"
packageFilters:
dirExists:
- 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"
packageFilters:
scope: "*example*"
test:integration:
run: melos exec -c 1 -- "flutter test integration_test"
description: Run integration tests
packageFilters:
dirExists:
- integration_test
scope: "*example*"
build:example_android:
run: |
melos exec -c 1 -- \
"flutter build apk --debug"
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 --debug"
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*"
build:example_linux:
run: |
melos exec -c 1 -- \
"flutter build linux"
description: Build a specific example app for Linux.
packageFilters:
dirExists:
- 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 .
format-ci: dart format --output=none --set-exit-if-changed .