From dff8c14cae466970f8472784c3ce5a3ed3a31377 Mon Sep 17 00:00:00 2001 From: anonymouzz Date: Fri, 4 Aug 2017 11:50:31 +0700 Subject: [PATCH] Makefile: add upload-release target, refs #9991 --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d8cf5f0..229cdea 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,12 @@ PHONY: all -all: build upload +all: build-release upload + +upload-release: build-release + adb install -r build/app/outputs/apk/app-release.apk upload: build-debug - adb install -r build/app/outputs/apk/app.apk + adb install -r build/app/outputs/apk/app-debug.apk build-debug: flutter build apk --debug