update to use any interface for debugging

This commit is contained in:
Morgan McMillian 2018-07-07 07:39:22 -07:00
parent dbc7b94130
commit c889a7271a

View file

@ -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