-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpubspec.yaml
More file actions
59 lines (48 loc) · 1.41 KB
/
pubspec.yaml
File metadata and controls
59 lines (48 loc) · 1.41 KB
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
name: lcov_workspace
repository: https://github.com/jtmcdole/lcov_format
workspace:
- packages/lcov_format
- packages/lcov_web
- packages/syntax_highlight_lite
environment:
sdk: ">=3.7.0 <4.0.0"
dev_dependencies:
melos: ^7.0.0-dev.7
melos:
command:
bootstrap:
environment:
sdk: ">=3.6.0 <4.0.0"
flutter: ">=3.27.1"
scripts:
lint:all:
steps:
- analyze
- format
description: Run all static analysis checks.
analyze:
run: melos exec dart analyze .
description: Run `dart analyze` for all packages.
format-check:
run: melos exec dart format . --set-exit-if-changed
description: Run `dart format` checks for all packages.
upgrade: melos exec flutter pub upgrade
test:select:
run: melos exec -c 1 -- 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:
steps:
- melos exec -- flutter test --coverage
# - todo - combine lcov format for all sub package
# - melos exec -- genhtml coverage/lcov.info --output-directory=coverage/
packageFilters:
dirExists: test
description: Generate coverage for the selected package.
dependencies:
characters: ^1.4.0
package_config: ^2.2.0