forked from maelchiotti/LocalMaterialNotes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
57 lines (35 loc) · 820 Bytes
/
makefile
File metadata and controls
57 lines (35 loc) · 820 Bytes
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
53
54
55
56
57
# Code generation
.PHONY: gen gen_l10n gen_build gen_watch
gen: gen_l10n gen_build
gen_l10n:
flutter gen-l10n
gen_build:
dart run build_runner build --delete-conflicting-outputs
gen_watch:
dart run build_runner watch --delete-conflicting-outputs
# Assets generation
.PHONY: gen_icon gen_splash gen_desc
gen_icon:
dart run flutter_launcher_icons
gen_splash:
dart run flutter_native_splash:create
gen_desc:
py scripts/generate_full_description.py
# Tests
.PHONY: test_all
test_all:
patrol test -t integration_test --dart-define=INTEGRATION_TEST=true
# Build
.PHONY: release
release:
flutter build apk --release
# Update
.PHONY: update_flutter update_fastlane
update_flutter:
flutter upgrade --force
update_fastlane:
bundle update fastlane
# Miscellaneous
.PHONY: clean
clean:
flutter clean