-
Notifications
You must be signed in to change notification settings - Fork 720
/
melos.yaml
36 lines (34 loc) · 1.1 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
name: flyer_chat_workspace
packages:
- examples/**
- packages/**
scripts:
test:selective:
run: melos exec --fail-fast -- flutter test --no-pub --coverage
description: run flutter test for a specific package
packageFilters:
dirExists: test
test:
run: melos run test:selective --no-select
description: run flutter test in all packages
coverage:selective:
exec: genhtml coverage/lcov.info -o coverage/html
description: generate coverage for a specific package
packageFilters:
dirExists: test
coverage:
run: melos run test && melos run coverage:selective --no-select
description: generate coverage for all packages
analyze:
exec: dart analyze --fatal-infos .
description: run `dart analyze` in all packages
build:
exec: dart run build_runner build --delete-conflicting-outputs
packageFilters:
dependsOn: build_runner
format:
run: dart format --set-exit-if-changed .
description: run `dart format --set-exit-if-changed .` in all packages
fix:
run: dart fix --apply .
description: run `dart fix --apply .` in all packages