Improve build tools
- Makefile provides "locale" and "mobile" as targets. Mobile also installs and starts app - build.py returns error code if ant fails
This commit is contained in:
14
Makefile
14
Makefile
@ -1,6 +1,16 @@
|
||||
default:
|
||||
./build.py
|
||||
default: mklocal
|
||||
|
||||
local: mklocal
|
||||
mobile: mkmobile
|
||||
|
||||
mklocal:
|
||||
./build.py local
|
||||
|
||||
mkmobile:
|
||||
./build.py mobile
|
||||
adb install -r build/mobile/IITC_Mobile-debug.apk
|
||||
adb shell am start -n com.cradle.iitc_mobile/com.cradle.iitc_mobile.IITC_Mobile
|
||||
|
||||
clean:
|
||||
ant -f mobile/build.xml clean
|
||||
|
||||
|
Reference in New Issue
Block a user