From c889a7271ad6c3c21e72eabd9dce3093b5149ae4 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sat, 7 Jul 2018 07:39:22 -0700 Subject: [PATCH] update to use any interface for debugging --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 87fc8a3..d648769 100644 --- a/Makefile +++ b/Makefile @@ -7,18 +7,16 @@ ALIGNED = $(OUT_DIR)/app-release-unsigned-aligned.apk APK = $(OUT_DIR)/goober.apk KEYSTORE = ~/android-keystore.jks -LOC_ADDR = $(shell hostname -i) -PUB_ADDR = $(shell hostname -I|awk '{print $$1}') lab: ionic serve -lc device: - ionic cordova run android -lc --address $(PUB_ADDR) --device + ionic cordova run android -lc --address 0.0.0.0 --device emulator: - ionic cordova run android -lc --address $(LOC_ADDR) --emulator + ionic cordova run android -lc --address 0.0.0.0 --emulator $(UNALIGNED): ionic cordova build android --release --prod