-
-
Notifications
You must be signed in to change notification settings - Fork 177
Expand file tree
/
Copy pathmelos.yaml
More file actions
141 lines (123 loc) · 3.3 KB
/
melos.yaml
File metadata and controls
141 lines (123 loc) · 3.3 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
name: FlutterGen
packages:
- packages/command
- packages/core
- packages/runner
- examples/example
- examples/example_resources
- examples/example_workspace
ide:
intellij:
enabled: true
moduleNamePrefix: ''
command:
clean:
hooks:
post:
run: flutter clean
exec:
concurrency: 1
description: flutter clean
scripts:
upgrade:
run: dart pub upgrade
exec:
concurrency: 1
packageFilters:
flutter: false
description: dart pub upgrade
format:
run: |
dart format --set-exit-if-changed .
git --no-pager diff --exit-code
description: Format Dart files and exit if unstaged changes exist
build:
exec: flutter build apk
packageFilters:
scope: example
description: flutter build apk
gen:build_runner:
exec: dart run build_runner build -d
packageFilters:
ignore:
- example
- example_resources
- example_workspace_root
dependsOn: build_runner
description: dart run build_runner build --delete-conflicting-outputs
gen:examples:command:
exec: dart ../../packages/command/bin/flutter_gen_command.dart
packageFilters:
scope:
- example
- example_resources
description: dart ../../packages/command/bin/flutter_gen_command.dart
gen:examples:build_runner:
run: dart run build_runner clean; dart run build_runner build -d
exec:
concurrency: 1
packageFilters:
scope:
- example
- example_resources
description: dart run build_runner build --delete-conflicting-outputs
gen:examples:workspace:command:
exec: dart ../../packages/command/bin/flutter_gen_command.dart --workspace -c pubspec.yaml
packageFilters:
scope: example_workspace_root
description: dart ../../packages/command/bin/flutter_gen_command.dart --workspace -c pubspec.yaml
gen:examples:workspace:build_runner:
exec: dart run build_runner clean; dart run build_runner build --workspace -d
packageFilters:
scope: example_workspace_root
description: dart run build_runner build --workspace --delete-conflicting-outputs
gen:actual_data:
run: dart packages/core/scripts/generate_facts.dart
description: Generate actual data for tests.
test:
run: |
melos test:dart --no-select
melos test:flutter --no-select
description: dart & flutter test
test:dart:
run: dart test --concurrency=1
exec:
concurrency: 1
failFast: true
packageFilters:
flutter: false
dependsOn: test
description: dart test
test:flutter:
run: flutter test --concurrency=1
exec:
concurrency: 1
failFast: true
packageFilters:
flutter: true
dependsOn: flutter_test
description: flutter test
coverage:
run: |
bash ./scripts/coverage.sh packages/core
description: bash ./scripts/coverage.sh packages/core
publish:force:
run: dart pub publish -f
exec:
concurrency: 1
failFast: true
packageFilters:
scope:
- flutter_gen
- flutter_gen_core
- flutter_gen_runner
publish:dry:
run: dart pub publish --dry-run
exec:
concurrency: 1
failFast: true
packageFilters:
scope:
- flutter_gen
- flutter_gen_core
- flutter_gen_runner