-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (26 loc) · 987 Bytes
/
Makefile
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
DCK_CMP_UP=docker-compose up -d --remove-orphans
.PHONY: all test
docker-build:
docker build -t cynnexis/zephyr .
docker-test:
$(DCK_CMP_UP) test lint
docker-down:
docker-compose down --remove-orphans --volumes
docker-kill:
docker rm -f $$(docker ps -aq) || docker rmi -f $$(docker images -f "dangling=true" -q) || docker system prune -f
extract-arb:
flutter pub run intl_translation:extract_to_arb --output-dir=lib\l10n lib\zephyr_localization.dart
generate-intl:
flutter pub run intl_translation:generate_from_arb --output-dir=lib\l10n --no-use-deferred-loading lib\zephyr_localization.dart lib\l10n\intl_en.arb lib\l10n\intl_fr.arb lib\l10n\intl_es.arb
update-launcher:
flutter pub run flutter_launcher_icons:main
generate-json-code:
flutter pub run build_runner build
lint:
dartfmt -n --set-exit-if-changed -l 120 .
fix-lint:
dartfmt -w -l 120 .
test:
flutter test --coverage test/*_test.dart
test-integration:
flutter drive --target=test_driver/search.dart