This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
melos.yaml
74 lines (63 loc) · 1.8 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
name: kaiteki
packages:
- packages/*
scripts:
build_runner:
run: melos exec -c 1 -- "dart run build_runner build --delete-conflicting-outputs"
description: Runs build_runner
packageFilters:
dependsOn: 'build_runner'
build_runner_watch:
run: melos exec -- "dart run build_runner watch --delete-conflicting-outputs"
description: Runs build_runner
packageFilters:
dependsOn: 'build_runner'
gen_l10n:
run: melos exec -c 1 -- "flutter gen-l10n"
packageFilters:
fileExists: 'l10n.yaml'
scope: 'kaiteki_l10n'
analyze:
run: melos exec -- "flutter --no-pub --no-fatal-infos --no-congratulate --no-preamble"
description: Analyze packages
build:windows:
run: melos exec -- "flutter build windows"
description: Build Windows binary
packageFilters:
flutter: true
dirExists: 'windows'
scope: 'kaiteki'
build:linux:
run: melos exec -- "flutter build linux"
description: Build Linux binary
packageFilters:
flutter: true
dirExists: 'linux'
scope: 'kaiteki'
build:web:
run: melos exec -- "flutter build web"
description: Build web version
packageFilters:
flutter: true
dirExists: 'web'
scope: 'kaiteki'
build:android:free:
run: melos exec -- "flutter build apk --flavor free"
description: Build free Android release APK
packageFilters:
flutter: true
dirExists: 'android'
scope: 'kaiteki'
build:android:nonfree:
run: melos exec -- "flutter build apk --flavor nonfree"
description: Build non-free Android release APK
packageFilters:
flutter: true
dirExists: 'android'
scope: 'kaiteki'
test:
run: flutter test --coverage --no-pub -r expanded
exec:
failFast: true
packageFilters:
dirExists: 'test'