forked from bluefireteam/audioplayers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
54 lines (43 loc) · 1.49 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
name: audioplayers
repository: https://github.com/bluefireteam/audioplayers
packages:
- packages/**
- examples/**
- tutorials/**
command:
bootstrap:
# Avoid concurrent pub requests, remove when https://github.com/dart-lang/pub/issues/3404 is fixed
runPubGetInParallel: false
scripts:
lint:
run: melos run analyze && melos run format
description: Run all static analysis checks.
analyze:
run: melos exec -c 10 flutter analyze
description: Run `flutter analyze` for all packages.
format:
run: melos exec dart format . --fix
description: Run `flutter format` for all packages.
format-check:
run: melos exec dart format . --set-exit-if-changed
description: Run `flutter format` checks for all packages.
dartdoc:
run: melos exec flutter pub run dartdoc
description: Run dartdoc checks for all non-example packages.
packageFilters:
ignore: "*_example"
pub-outdated:
run: melos exec dart pub outdated
description: Run `dart pub outdated` for all packages.
pub-upgrade:
# May fails until https://github.com/dart-lang/pub/pull/3920 is released
run: melos exec dart pub upgrade --major-versions
description: Run `dart pub upgrade --major-versions` 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.