forked from ferraridamiano/ConverterNOW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
39 lines (31 loc) · 1.15 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
name: ConverterNOW
packages:
- packages/**
- .
command:
bootstrap:
# It seems so that running "pub get" in parallel has some issues (like
# https://github.com/dart-lang/pub/issues/3404). Disabling this feature
# makes the CI much more stable.
runPubGetInParallel: false
usePubspecOverrides: true
scripts:
analyze:
run: melos exec -- "flutter analyze"
description: Run `flutter analyze` in all packages
compile_icons:
run: |
dart run vector_graphics_compiler --input-dir assets/app_icons
dart run vector_graphics_compiler --input-dir assets/property_icons
description: Optimizes the svg icons.
format:
run: melos exec -- "flutter format . --set-exit-if-changed"
description: Run `flutter format .` in all packages
generate_translations:
run: cd packages/translations && flutter gen-l10n
description: Generates translation files.
test:
# Only run the test command when the package has a test directory
run: melos exec --dir-exists=test -- "flutter test"
description: Run `flutter test` in all packages
postbootstrap: melos run compile_icons && melos run generate_translations