forked from Catrobat/Paintroid-Flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
97 lines (85 loc) · 2.37 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
88
89
90
91
92
93
94
95
96
97
name: Paintroid-Flutter
repository: https://github.com/Catrobat/Paintroid-Flutter
sdkPath: D:\Downloads\dartsdk-windows-x64-release (1)\dart-sdk
packages:
- packages/*
- packages/features/*
command:
bootstrap:
runPubGetInParallel: true
usePubspecOverrides: true
scripts:
lint:all:
run: melos run analyze
description: Run all static analysis checks.
analyze:
# We are setting the concurrency to 1 because a higher concurrency can crash
# the analysis server on low performance machines (like GitHub Actions).
run: |
melos exec -c 1 -- \
dart analyze . --fatal-infos
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
test:all:
run: |
melos run test --no-select
description: |
Run all tests available.
test:
run: |
melos exec -c 6 --fail-fast -- \
"flutter test"
description: Run `flutter test` for a specific package.
packageFilters:
dirExists:
- test
ignore:
- "*web*"
- "*odm*"
- "*example*"
test:unit:
run: |
melos run test-unit --no-select
description: |
Run all tests available.
test-unit:
run: |
melos exec -c 6 --fail-fast -- \
"flutter test test/unit"
description: Run `flutter test test/unit` for a specific package.
packageFilters:
dirExists:
- test/unit
ignore:
- "*web*"
- "*odm*"
- "*example*"
test:widget:
run: |
melos run test-widget --no-select
description: |
Run all tests available.
test-widget:
run: |
melos exec -c 6 --fail-fast -- \
"flutter test test/widget"
description: Run `flutter test test/widget` for a specific package.
packageFilters:
dirExists:
- test/widget
ignore:
- "*web*"
- "*odm*"
- "*example*"
build:all:
run: |
melos run build --no-select
description: |
Run all build_runners available.
build:
# We are setting the concurrency to 1 because a higher concurrency creates dependencies problems.
run: |
melos exec -c 1 --fail-fast -- \
"flutter pub run build_runner build --delete-conflicting-outputs"
description: Run `flutter pub run build_runner build --delete-conflicting-outputs` for a specific package.