update to use any interface for debugging
This commit is contained in:
parent
dbc7b94130
commit
c889a7271a
1 changed files with 2 additions and 4 deletions
6
Makefile
6
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
|
||||
|
|
Reference in a new issue