-
Notifications
You must be signed in to change notification settings - Fork 7
/
melos.yaml
52 lines (44 loc) · 956 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
40
41
42
43
44
45
46
47
48
49
50
51
52
name: uploadcare_client
packages:
- uploadcare_client
- uploadcare_flutter
- uploadcare_flutter_example
- uploadcare_server_mock
ide:
intellij: false
command:
version:
workspaceChangelog: false
linkToCommits: false
branch: master
hooks:
preCommit: |
melos run pubspec:gen
melos run test
bootstrap:
hooks:
post: |
melos run mock_file:gen
scripts:
pubspec:gen:
run: |
melos exec -c 1 --scope="*uploadcare_client*" -- \
dart run pubspec_extract --filter="name,version" -d "lib/src/pubspec.dart"
analyze:
run: |
melos exec -c 1 -- \
dart analyze .
description: |
Run `dart analyze` in all packages.
format:
run: |
melos exec -c 1 -- \
dart format .
description: |
Run `dart format` in all packages
test:
run: |
./tool/test.sh
mock_file:gen:
run: |
./tool/generate_bin_assets.sh