1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-12 04:25:08 -05:00

Use android.bat on Windows systems

This commit is contained in:
cketti 2012-11-20 04:04:42 +01:00
parent 7678210807
commit e85bca648c

View File

@ -86,6 +86,11 @@
<property name="rclib" value="${out.dir}/K9RemoteControl.jar" /> <property name="rclib" value="${out.dir}/K9RemoteControl.jar" />
<property name="rcdir" value="com/fsck/k9/remotecontrol/**" /> <property name="rcdir" value="com/fsck/k9/remotecontrol/**" />
<condition property="android.executable" value="android.bat">
<os family="windows" />
</condition>
<property name="android.executable" value="android" />
<target name="-get-version" depends="-get-version-name"> <target name="-get-version" depends="-get-version-name">
<echo>Building version number ${current-version-name}</echo> <echo>Building version number ${current-version-name}</echo>
</target> </target>
@ -300,7 +305,7 @@
</resourceexists> </resourceexists>
<else> <else>
<echo message="android update lib-project -p plugins/ActionBarSherlock/library/" /> <echo message="android update lib-project -p plugins/ActionBarSherlock/library/" />
<exec executable="${sdk.dir}/tools/android" failonerror="true"> <exec executable="${sdk.dir}/tools/${android.executable}" failonerror="true">
<arg line="update lib-project -p plugins/ActionBarSherlock/library/" /> <arg line="update lib-project -p plugins/ActionBarSherlock/library/" />
</exec> </exec>
</else> </else>
@ -314,7 +319,7 @@
</resourceexists> </resourceexists>
<else> <else>
<echo message="android update lib-project -p plugins/Android-PullToRefresh/library/" /> <echo message="android update lib-project -p plugins/Android-PullToRefresh/library/" />
<exec executable="${sdk.dir}/tools/android" failonerror="true"> <exec executable="${sdk.dir}/tools/${android.executable}" failonerror="true">
<arg line="update lib-project -p plugins/Android-PullToRefresh/library/" /> <arg line="update lib-project -p plugins/Android-PullToRefresh/library/" />
</exec> </exec>
</else> </else>