Mercurial > 510Connectbot
changeset 444:5a74f1b7c1db
migrate from Eclipse to Android Studio
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 03 Dec 2015 12:33:34 -0800 |
parents | 07deaa851e7d |
children | 8fa8e73e2f5c |
files | Makefile |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Thu Dec 03 12:32:12 2015 -0800 +++ b/Makefile Thu Dec 03 12:33:34 2015 -0800 @@ -4,6 +4,9 @@ style:=release dest:=/run/user/1000/gvfs/mtp*/*torage/Download apk:='app/build/outputs/apk/510Connectbot-$(style).apk' +ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2) +id:=$(shell hg id --id || echo 1) +da:=$(shell date +%Y-%m-%d) version:=\ <?xml version=\"1.0\" encoding=\"utf-8\"?>\n\ <resources>\n\ @@ -23,9 +26,6 @@ builder: prep rm -rf app/build/* - ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2) - id:=$(shell hg id --id) - da:=$(shell date +%Y-%m-%d) echo -e "$(version)" >app/src/main/res/values/version.xml cat app/src/main/res/values/version.xml ./gradlew $(task)