forked from FlutterGen/flutter_gen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
87 lines (73 loc) · 1.94 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
name: FlutterGen
packages:
- packages/**
- integrations/**
- examples/**
ide:
intellij:
enabled: true
moduleNamePrefix: ''
vscode: true
command:
clean:
hooks:
post:
run: |
melos exec -c 6 -- flutter clean
description: flutter clean
scripts:
get:
run: |
melos exec -c 6 -- flutter pub get
description: flutter pub get
upgrade:
run: melos exec -c 6 -- flutter pub upgrade
description: flutter pub upgrade
analyze:
run: melos exec -c 6 -- 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 --config pubspec.yaml
packageFilters:
scope:
- example
- example_resources
description: dart ../../packages/command/bin/flutter_gen_command.dart --config pubspec.yaml
gen:examples:build_runner:
exec: flutter pub run build_runner build --delete-conflicting-outputs
packageFilters:
scope:
- example
- example_resources
description: flutter pub run build_runner build --delete-conflicting-outputs
test:
run: melos test:dart --no-select
description: dart test
test:dart:
run: dart test
exec:
failFast: true
packageFilters:
flutter: false
dependsOn: test
description: dart test
coverage:
run: |
bash ./scripts/coverage.sh packages/core
description: bash ./scripts/coverage.sh packages/core