1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 05:02:26 -05:00

remove submodule code from build.xml

This commit is contained in:
Jesse Vincent 2012-11-24 17:16:45 -05:00
parent c0da3a9be0
commit c640598ebe

View File

@ -275,30 +275,7 @@
<delete dir="${javadoc-dir}" verbose="${verbose}" /> <delete dir="${javadoc-dir}" verbose="${verbose}" />
</target> </target>
<target name="-git-submodule-init-update"> <target name="-update-abs">
<if.contrib>
<and>
<resourceexists>
<file file="plugins/ActionBarSherlock/.git" />
</resourceexists>
<resourceexists>
<file file="plugins/Android-PullToRefresh/.git" />
</resourceexists>
</and>
<else>
<echo message="git submodule init" />
<exec executable="git" failonerror="true">
<arg line="submodule init" />
</exec>
<echo message="git submodule update" />
<exec executable="git" failonerror="true">
<arg line="submodule update" />
</exec>
</else>
</if.contrib>
</target>
<target name="-update-abs" depends="-git-submodule-init-update">
<if.contrib> <if.contrib>
<resourceexists> <resourceexists>
<file file="plugins/ActionBarSherlock/library/build.xml" /> <file file="plugins/ActionBarSherlock/library/build.xml" />
@ -312,7 +289,7 @@
</if.contrib> </if.contrib>
</target> </target>
<target name="-update-ptr" depends="-git-submodule-init-update"> <target name="-update-ptr">
<if.contrib> <if.contrib>
<resourceexists> <resourceexists>
<file file="plugins/Android-PullToRefresh/library/build.xml" /> <file file="plugins/Android-PullToRefresh/library/build.xml" />
@ -327,7 +304,7 @@
</target> </target>
<target name="init" depends="-update-abs, -update-ptr" <target name="init" depends="-update-abs, -update-ptr"
description="Initialize environment and submodules for building" /> description="Initialize environment for building" />
<!-- overrides default "debug" target" --> <!-- overrides default "debug" target" -->
<!-- Builds debug output package --> <!-- Builds debug output package -->