-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
111 lines (89 loc) · 2.5 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
name: nilts
repository:
type: github
origin: https://github.com/ronnnnn/nilts
owner: ronnnnn
name: nilts
packages:
- .
- packages/**
- examples/**
ide:
intellij: true
command:
bootstrap:
enforceLockfile: true
version:
message: |
release: publish packages
{new_package_versions}
includeCommitId: true
changelogs:
- path: packages/nilts/CHANGELOG.md
description: |
All notable changes to nilts packages will be documented in this file.
packageFilters:
scope: nilts
releaseUrl: true
scripts:
prepare:
run: |
dart pub global activate custom_lint 0.7.0 && \
dart pub global activate very_good_cli 0.24.0
description: prepare for develop
get:
run: melos exec -c 1 --fail-fast -- flutter pub get
description: pub get
lint:
run: |
melos lint:dart && \
melos lint:flutter && \
melos lint:custom_lint
description: lint
lint:dart:
run: melos exec -c 1 --scope="nilts" -- dart analyze --fatal-infos --fatal-warnings
description: lint with dart
lint:flutter:
run: melos exec -c 1 --scope="nilts_test" -- flutter analyze --fatal-infos --fatal-warnings
description: lint with flutter
lint:custom_lint:
run: melos exec -c 1 --scope="nilts_test" -- flutter pub run custom_lint
description: lint with custom_lint
fmt:
run: |
melos fix && \
melos fmt:dart
description: format
fmt:dry:
run: |
melos fix:dry && \
melos fmt:dart:dry
description: format (dry-run)
fmt:dart:
run: melos exec -c 1 --fail-fast -- dart format .
description: format dart
fmt:dart:dry:
run: melos exec -c 1 --fail-fast -- dart format --set-exit-if-changed .
description: format dart (dry-run)
fix:
run: melos exec -c 1 --fail-fast -- dart fix --apply
description: fix dart
fix:dry:
run: melos exec -c 1 --fail-fast -- dart fix --dry-run
description: fix dart (dry-run)
test:
exec: very_good test
packageFilters:
scope: nilts_test
description: test on nilts_test
build:example:
run: |
melos build:example:android && \
melos build:example:ios
description: build on nilts_example
build:example:android:
run: melos exec -c 1 --scope="nilts_example" -- flutter build appbundle
description: build android on nilts_example
build:example:ios:
run: melos exec -c 1 --scope="nilts_example" -- flutter build ios --no-codesign
description: build ios on nilts_example