-
-
Notifications
You must be signed in to change notification settings - Fork 122
/
melos.yaml
51 lines (40 loc) · 1.32 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
name: flutter_distributor
repository: https://github.com/leanflutter/flutter_distributor
packages:
- apps/**
- examples/**
- packages/**
command:
bootstrap:
# Uses the pubspec_overrides.yaml instead of having Melos modifying the lock file.
usePubspecOverrides: true
scripts:
analyze:
exec: flutter analyze --fatal-infos
description: Run `flutter analyze` for all packages.
test:
exec: flutter test
description: Run `flutter test` for a specific package.
packageFilters:
dirExists:
- test
format:
exec: dart format . --fix
description: Run `dart format` for all packages.
format-check:
exec: dart format . --fix --set-exit-if-changed
description: Run `dart format` checks for all packages.
fix:
exec: dart fix . --apply
description: Run `dart fix` for all packages.
dependency_validator:
exec: flutter pub run dependency_validator
packageFilters:
dependsOn:
- dependency_validator
activate:
run: melos exec --scope="flutter_distributor" -- dart pub global activate -s path .
build_apk:
run: melos exec --scope="hello_world" -- flutter_distributor release --name dev --jobs android-apk --skip-clean
build_ipa:
run: melos exec --scope="hello_world" -- flutter_distributor release --name dev --jobs ios-ipa --skip-clean