aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2010-09-19 03:25:11 -0500
committerKenny Root <kenny@the-b.org>2010-09-19 03:25:11 -0500
commit7a35c56565153d4f269df0ee6ded15360e065548 (patch)
tree90d1f8a4528e47c597e0d65c1d8f826b024f6354
parentecdaa414a6f771f7783c7cbdaf602a754c361ee6 (diff)
downloadconnectbot-7a35c56565153d4f269df0ee6ded15360e065548.tar.gz
connectbot-7a35c56565153d4f269df0ee6ded15360e065548.tar.bz2
connectbot-7a35c56565153d4f269df0ee6ded15360e065548.zip
Restore update-version ant task
-rw-r--r--AndroidManifest.xml2
-rw-r--r--build.xml16
2 files changed, 9 insertions, 9 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 2951ae3..10dbb7e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.connectbot"
android:versionName="1.7.0"
- android:versionCode="319"
+ android:versionCode="320"
android:installLocation="auto">
<application
diff --git a/build.xml b/build.xml
index 9159bfd..e7dbbf4 100644
--- a/build.xml
+++ b/build.xml
@@ -54,31 +54,31 @@
<fail unless="have.proguard">You requested ProGuard, but you don't have the JAR available! See README</fail>
</target>
- <target name="-pre-build" depends="create.out.dir, link.out.dir"/>
+ <target name="-pre-build" depends="create-out-dir, link-out-dir, update-version"/>
- <target name="-post-compile" depends="proguard.execute"/>
+ <target name="-post-compile" depends="proguard-execute"/>
- <target name="remove.out.symlink">
+ <target name="remove-out-symlink">
<symlink action="delete" link="${proguard.out.dir}" failonerror="false"/>
</target>
- <target name="check.out.exists" depends="remove.out.symlink">
+ <target name="check-out-exists" depends="remove-out-symlink">
<available file="${proguard.out.dir}" property="proguard.out.is.dir"/>
</target>
- <target name="delete.out.dir" depends="check.out.exists" if="proguard.out.is.dir">
+ <target name="delete-out-dir" depends="check-out-exists" if="proguard.out.is.dir">
<delete dir="${proguard.out.dir}"/>
</target>
- <target name="create.out.dir" depends="delete.out.dir" if="have.proguard">
+ <target name="create-out-dir" depends="delete-out-dir" if="have.proguard">
<mkdir dir="${proguard.out.dir}"/>
</target>
- <target name="link.out.dir" depends="delete.out.dir" unless="have.proguard">
+ <target name="link-out-dir" depends="delete-out-dir" unless="have.proguard">
<symlink link="${proguard.out.dir}" resource="${out.classes.dir}"/>
</target>
- <target name="proguard.execute" if="have.proguard">
+ <target name="proguard-execute" if="have.proguard">
<mkdir dir="${out.dex.input.absolute.dir}"/>
<taskdef resource="proguard/ant/task.properties"
classpath="tools/proguard.jar" />