-
-
Notifications
You must be signed in to change notification settings - Fork 151
/
melos.yaml
101 lines (87 loc) · 2.15 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
name: FlutterGen
packages:
- packages/**
- integrations/**
- examples/**
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
analyze:
exec: flutter analyze
description: flutter analyze
format:
run: dart format --set-exit-if-changed .
description: dart format --set-exit-if-changed .
build:
exec: flutter build apk
packageFilters:
scope: example
description: flutter build apk
gen:build_runner:
exec: dart run build_runner build --delete-conflicting-outputs
packageFilters:
ignore:
- example
- example_resources
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: flutter pub run build_runner build --delete-conflicting-outputs
exec:
concurrency: 1
packageFilters:
scope:
- example
- example_resources
description: flutter pub run build_runner build --delete-conflicting-outputs
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