-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
40 lines (35 loc) · 1.24 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
name: dojo
packages:
- flutter_app/
- theme/
- widgetbook/
command:
bootstrap:
runPubGetInParallel: false
scripts:
build_runner:
exec: dart run build_runner build --delete-conflicting-outputs
description: Run build_runner in every packages
packageFilters:
dependsOn: 'build_runner'
build_runner:watch:
exec: dart run build_runner watch --delete-conflicting-outputs
description: Run build_runner in every packages
packageFilters:
dependsOn: 'build_runner'
analyze:
exec: |
dart analyze --fatal-infos . && \
dart format --set-exit-if-changed lib test && \
dcm analyze lib --fatal-style --ci-key=$DCM_CI_KEY --email=$DCM_LICENSE_EMAIL && \
dcm check-unused-files ./ --ci-key=$DCM_CI_KEY --email=$DCM_LICENSE_EMAIL --exclude="**/*.internal.dart" && \
dcm check-unused-l10n ./ --ci-key=$DCM_CI_KEY --email=$DCM_LICENSE_EMAIL && \
dcm check-unused-code ./ --ci-key=$DCM_CI_KEY --email=$DCM_LICENSE_EMAIL --exclude="**/*.internal.dart"
description: Run analyzer in every packages
fix:
exec: |
dcm fix lib && \
dart fix . --apply && \
dcm format lib && \
dart format lib test
description: Run fix in every packages