forked from Iteo/cached
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
39 lines (28 loc) · 870 Bytes
/
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
name: cached
command:
bootstrap:
usePubspecOverrides: true
packages:
- packages/**
scripts:
get:
run: melos exec dart pub get
generate:
run: melos exec --depends-on="build_runner" dart run build_runner build --delete-conflicting-outputs
test:
run: melos exec --dir-exists="test" dart test
test:coverage:
run: melos exec -c 1 --fail-fast -- "\$MELOS_ROOT_PATH/scripts/coverage.sh"
description: Run Dart tests for a specific package in this project.
packageFilters:
dirExists: test
analyze:
run: melos exec dart analyze
get:fvm:
run: melos exec fvm dart pub get
test:fvm:
run: melos exec --dir-exists="test" dart test
analyze:fvm:
run: melos exec fvm dart analyze
generate:fvm:
run: melos exec --depends-on="build_runner" fvm dart run build_runner build --delete-conflicting-outputs