moved update-names step

This commit is contained in:
MachineMuse 2013-03-16 22:18:57 -06:00
parent 46816c9127
commit 4f67685d22

View file

@ -131,7 +131,7 @@
<delete dir="${download.dir}/thermalexpansion" /> <delete dir="${download.dir}/thermalexpansion" />
</target> </target>
<target name="update-names"> <target name="update-names" depends="copy-source">
<get src="http://mcp.ocean-labs.de/files/mcptest/methods.csv" dest="${mcp.dir}/conf/methods.csv" /> <get src="http://mcp.ocean-labs.de/files/mcptest/methods.csv" dest="${mcp.dir}/conf/methods.csv" />
<get src="http://mcp.ocean-labs.de/files/mcptest/fields.csv" dest="${mcp.dir}/conf/fields.csv" /> <get src="http://mcp.ocean-labs.de/files/mcptest/fields.csv" dest="${mcp.dir}/conf/fields.csv" />
@ -140,7 +140,7 @@
</exec> </exec>
<exec dir="${mcp.dir}" executable="bash" osfamily="unix" failonerror="true"> <exec dir="${mcp.dir}" executable="bash" osfamily="unix" failonerror="true">
<arg value="-c"/> <arg value="-c" />
<arg value="echo Yes | ./updatenames.sh" /> <arg value="echo Yes | ./updatenames.sh" />
</exec> </exec>
</target> </target>
@ -153,15 +153,16 @@
<target name="forgeinstalled.check"> <target name="forgeinstalled.check">
</target> </target>
<target name="copy-source">
<target name="build" depends="extract-apis" unless="already-compiled">
<!-- Copy source -->
<copy todir="${mcpsrc.dir}/net/machinemuse"> <copy todir="${mcpsrc.dir}/net/machinemuse">
<fileset dir="${src.dir}/minecraft/net/machinemuse" /> <fileset dir="${src.dir}/minecraft/net/machinemuse" />
<filterset> <filterset>
<filter token="MOD_VERSION" value="${fullversion}" /> <filter token="MOD_VERSION" value="${fullversion}" />
</filterset> </filterset>
</copy> </copy>
</target>
<target name="build" depends="extract-apis,update-names" unless="already-compiled">
<!-- Recompile --> <!-- Recompile -->
<exec dir="${mcp.dir}" executable="cmd" osfamily="windows" failonerror="true"> <exec dir="${mcp.dir}" executable="cmd" osfamily="windows" failonerror="true">