-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmelos.yaml
122 lines (100 loc) · 2.43 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
112
113
114
115
116
117
118
119
120
121
122
name: nilts
repository:
type: github
origin: https://github.com/ronnnnn/nilts
owner: ronnnnn
name: nilts
packages:
- .
- packages/**
- examples/**
ide:
intellij: true
vscode: 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.6.0 && \
dart pub global activate very_good_cli 0.22.1
description: prepare for develop
get:
exec: flutter pub get
description: pub get
check:
steps:
- check:dart
- check:flutter
- check:custom_lint
description: check static analysis
check:dart:
exec: dart analyze --fatal-infos --fatal-warnings
packageFilters:
scope: nilts
description: check static analysis for dart
check:flutter:
exec: flutter analyze --fatal-infos --fatal-warnings
packageFilters:
scope: nilts_test
description: check static analysis for flutter
check:custom_lint:
exec: flutter pub run custom_lint
packageFilters:
scope: nilts_test
description: check static analysis with custom_lint
pretty:
steps:
- fix
- pretty:dart
description: format
pretty:dry:
steps:
- fix:dry
- pretty:dart:dry
description: format (dry-run)
pretty:dart:
exec: dart format .
description: format dart
pretty:dart:dry:
exec: dart format --set-exit-if-changed .
description: format dart (dry-run)
fix:
exec: dart fix --apply
description: fix dart
fix:dry:
exec: 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:
steps:
- build:example:android
- build:example:ios
description: build on nilts_example
build:example:android:
exec: flutter build appbundle
packageFilters:
scope: nilts_example
description: build android on nilts_example
build:example:ios:
exec: flutter build ios --no-codesign
packageFilters:
scope: nilts_example
description: build ios on nilts_example