forked from ferraridamiano/ConverterNOW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
35 lines (27 loc) · 939 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
name: ConverterNOW
packages:
- packages/**
- .
command:
bootstrap:
hooks:
post: melos run compile_icons && melos run generate_translations
scripts:
analyze:
run: melos exec -- "flutter analyze"
description: Run `flutter analyze` in all packages
compile_icons:
steps:
- 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