From 4670ae7549346ded0043ebfd0e35b26941d4f13f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 21 Apr 2020 12:06:40 +0200 Subject: [PATCH] makefile: add missing TARGET for android-clean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0ee33c0026..512714c3e7 100644 --- a/Makefile +++ b/Makefile @@ -327,9 +327,10 @@ geth-connect: ##@other Connect to Geth on the device adb forward tcp:8545 tcp:8545 && \ build/bin/geth attach http://localhost:8545 +android-clean: export TARGET := android android-clean: ##@prepare Clean Gradle state git clean -dxf -f ./android/app/build - [ -d android/.gradle ] && cd android && ./gradlew clean + [[ -d android/.gradle ]] && cd android && ./gradlew clean android-ports: export TARGET := android-env android-ports: ##@other Add proxies to Android Device/Simulator @@ -348,7 +349,7 @@ android-logcat: ##@other Read status-react logs from Android phone using adb android-install: export TARGET := android-env android-install: export BUILD_TYPE ?= release -android-install: +android-install: ##@other Install APK on device using adb adb install result/app-$(BUILD_TYPE).apk _list: SHELL := /bin/sh