forked from leanflutter/flutter_distributor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
41 lines (32 loc) · 1.14 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
name: flutter_distributor
repository: https://github.com/leanflutter/flutter_distributor
packages:
- examples/**
- packages/**
command:
bootstrap:
# Uses the pubspec_overrides.yaml instead of having Melos modifying the lock file.
usePubspecOverrides: true
scripts:
analyze:
run: |
melos exec -c 10 -- \
flutter analyze --fatal-infos
description: Run `flutter analyze` for all packages.
format:
run: melos exec dart format . --fix
description: Run `dart format` for all packages.
format-check:
run: melos exec dart format . --fix --set-exit-if-changed
description: Run `dart format` checks for all packages.
dependency_validator:
exec: flutter pub run dependency_validator
select-package:
depends-on:
- 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