-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (29 loc) · 731 Bytes
/
Makefile
File metadata and controls
39 lines (29 loc) · 731 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
run:
flutter run
run-prod:
flutter run --release
clean:
flutter clean
flutter pub get
make build-runner
make format
format:
dart format . --line-length 120
lint:
dart analyze
test:
flutter test
.PHONY:test
build-runner:
dart run build_runner build --delete-conflicting-outputs
build-runner-watch:
dart run build_runner watch --delete-conflicting-outputs
appicon:
dart run flutter_launcher_icons -f flutter_launcher_icons.yaml
# ANDROID BUILD
build-apk:
@echo "Building Android .apk ..."
make clean
flutter build apk --target-platform=android-arm,android-arm64 --obfuscate --split-debug-info=./dist/debug/
cp build/app/outputs/bundle/release/app-release.apk dist/
mv dist/app-release.apk dist/zaunteam.apk