-
Notifications
You must be signed in to change notification settings - Fork 126
/
melos.yaml
56 lines (46 loc) · 1.31 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
name: dropdown_button2_workspace
repository: https://github.com/AhmedLSayed9/dropdown_button2
packages:
- packages/**
- examples/**
command:
version:
message: |
Release
{new_package_versions}
bootstrap:
environment:
sdk: ">=3.2.0 <4.0.0"
flutter: ">=3.16.0"
scripts:
lint:all:
run: melos run analyze && melos run format
description: Run all static analysis checks.
analyze:
run: |
melos exec -c 10 -- \
flutter analyze --fatal-infos
description: Run `flutter analyze` for all packages.
format:
run: melos exec dart format . --fix
description: Run `dart format` for all packages.
test:select:
run: melos exec -- flutter test
packageFilters:
dirExists: test
description: Run `flutter test` for selected packages.
test:
run: melos run test:select --no-select
description: Run all Flutter tests in this project.
coverage:
run: |
melos exec -- flutter test --coverage &&
melos exec -- genhtml coverage/lcov.info --output-directory=coverage/
packageFilters:
dirExists: test
description: Generate coverage for the selected package.
update-goldens:
run: melos exec -- flutter test --update-goldens
packageFilters:
dirExists: test
description: Re-generate all golden test files