diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-15 16:42:04 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-15 16:42:04 +0100 |
commit | 0b3b0da2e8db96f68ddfe35d6f9294ee58c9323e (patch) | |
tree | d6ec5136c63936af719a4f199342928b1ce3565d /custom_rules.xml | |
parent | 8cd59bb944ed9373eb04420a32f3b7cfce0a8956 (diff) |
prepared release0.1-rc1
Diffstat (limited to '')
-rw-r--r-- | custom_rules.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/custom_rules.xml b/custom_rules.xml new file mode 100644 index 00000000..f7b0378a --- /dev/null +++ b/custom_rules.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project> + + <target name="rename-release-with-version-number" > + + <xmlproperty + collapseAttributes="true" + file="AndroidManifest.xml" + prefix="themanifest" /> + + <property + name="out.packaged.file" + location="${out.absolute.dir}/${ant.project.name}-${themanifest.manifest.android:versionName}-unsigned.apk" /> + + <property + name="out.final.file" + location="${out.absolute.dir}/${ant.project.name}-${themanifest.manifest.android:versionName}.apk" /> + </target> + + <target + name="-set-release-mode" + depends="rename-release-with-version-number,android_rules.-set-release-mode" > + + <echo message="target: ${build.target}" > + </echo> + </target> + +</project>
\ No newline at end of file |