Mercurial > 510Connectbot
comparison Makefile @ 443:07deaa851e7d
migrate from Eclipse to Android Studio
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 03 Dec 2015 12:32:12 -0800 |
parents | ced663d2e957 |
children | 5a74f1b7c1db |
comparison
equal
deleted
inserted
replaced
442:ced663d2e957 | 443:07deaa851e7d |
---|---|
21 hg pull; hg update | 21 hg pull; hg update |
22 make builder | 22 make builder |
23 | 23 |
24 builder: prep | 24 builder: prep |
25 rm -rf app/build/* | 25 rm -rf app/build/* |
26 ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2) | 26 ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2) |
27 id:=$(shell hg id --id) | 27 id:=$(shell hg id --id) |
28 da:=$(shell date +%Y-%m-%d) | 28 da:=$(shell date +%Y-%m-%d) |
29 echo -e "$(version)" >app/src/main/res/values/version.xml | 29 echo -e "$(version)" >app/src/main/res/values/version.xml |
30 cat app/src/main/res/values/version.xml | 30 cat app/src/main/res/values/version.xml |
31 ./gradlew $(task) | 31 ./gradlew $(task) |
32 mv app/build/outputs/apk/app-arm-$(style).apk $(apk) | 32 mv app/build/outputs/apk/app-arm-$(style).apk $(apk) |
33 ls -al app/build/outputs/apk | 33 ls -al app/build/outputs/apk |