-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
75 lines (73 loc) · 1.83 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
name: utilities_example
repository: https://github.com/helpisdev/utilities_example.git
packages:
- packages/**
- .
ignore:
- 'packages/**/example'
- 'packages/**/examples'
- 'examples'
sdkPath: auto
command:
bootstrap:
usePubspecOverrides: true
version:
includeCommitId: true
linkToCommits: true
workspaceChangelog: true
updateGitTagRefs: true
includeScopes: true
branch: main
scripts:
config:
select-package:
flutter: true
exec: "flutter config --enable-web --enable-macos-desktop --enable-linux-desktop --enable-windows-desktop --enable-ios --enable-android --single-widget-reload-optimization"
get:
exec: flutter packages pub get
upgrade:
exec: flutter pub upgrade
upgrade:major:
exec: flutter pub upgrade --major-versions
flutter:clean:
select-package:
flutter: true
exec: flutter clean
format:check:
exec: dart format --set-exit-if-changed .
format:fix:
exec: dart format --fix .
lint:
exec: dart fix --dry-run
fix:
exec: dart fix --apply
analyze:
exec: dart analyze --fatal-infos
test:
exec: flutter test
test:integration:
select-package:
flutter: true
exec: flutter drive
test:benchmark:
select-package:
flutter: true
exec: flutter test test_benchmark
test:goldens:
select-package:
flutter: true
exec: flutter test --update-goldens --tags=golden
test:coverage:
select-package:
flutter: true
exec: flutter test --coverage --merge-coverage --no-pub
gen:coverage:
exec: "$MELOS_ROOT_PATH/tool/combine_coverage.sh"
gen:coverage:html:
exec: "genhtml $MELOS_ROOT_PATH/coverage/lcov.info -o $MELOS_ROOT_PATH/coverage/html"
build:debug:
exec: flutter build -v $1
build:release:
exec: flutter build -v --release $1
fastlane:
run: bundle exec fastlane $1