Skip to content

Commit

Permalink
Tabs -> Spaces in build file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe12o committed Dec 8, 2013
1 parent e079a0c commit 78bcdf3
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
<property name="mc.version" value="1.6.4"/>
<property name="forge.name" value="minecraftforge-src-${mc.version}-${forge.version}.zip"/>
<property name="mcpc.name" value="mcpc-api-${mc.version}.jar"/>
<property name="ic2.version" value="307"/>
<property name="ic2.version" value="307"/>

<condition property="missing-dependencies">
<or>
<not>
<available file="${src.dir}"/>
</not>
<not>
<available file="${src.dir}"/>
</not>
<not>
<available file="${mcp.dir}/lib/${mcpc.name}"/>
</not>
<not>
<available file="${src.dir}/ic2"/>
</not>
<not>
<available file="${src.dir}/ic2"/>
</not>
</or>
</condition>
</condition>

<!-- Clean Build Directory -->
<target name="clean">
Expand All @@ -37,7 +37,7 @@
<target name="fetch-dependencies" if="missing-dependencies">
<mkdir dir="${download.dir}"/>
<get src="http://files.minecraftforge.net/${forge.name}" dest="${download.dir}"/>
<get src="http://ic2api.player.to:8080/job/IC2_experimental/${ic2.version}/artifact/packages/industrialcraft-2-api_2.0.${ic2.version}-experimental.zip" dest="${download.dir}/ic2_api_${ic2.version}.zip"/>
<get src="http://ic2api.player.to:8080/job/IC2_experimental/${ic2.version}/artifact/packages/industrialcraft-2-api_2.0.${ic2.version}-experimental.zip" dest="${download.dir}/ic2_api_${ic2.version}.zip"/>
<get src="http://ci.md-5.net/job/MCPC-API/8/za.co.mcportcentral$mcpc-api/artifact/za.co.mcportcentral/mcpc-api/1.6.2-R0.2-20130811.060540-2/mcpc-api-1.6.2-R0.2-20130811.060540-2.jar" dest="${download.dir}/${mcpc.name}"/>
</target>

Expand All @@ -46,12 +46,12 @@
<delete dir="forge" failonerror="false"/>
<unzip dest="forge/.." src="${download.dir}/${forge.name}"/>
<exec dir="forge" executable="cmd" osfamily="windows">
<arg line="/c install.cmd"/>
</exec>
<exec dir="forge" executable="sh" osfamily="unix">
<arg value="install.sh"/>
</exec>
<unzip dest="${src.dir}/ic2/.." src="${download.dir}/ic2_api_${ic2.version}.zip"/>
<arg line="/c install.cmd"/>
</exec>
<exec dir="forge" executable="sh" osfamily="unix">
<arg value="install.sh"/>
</exec>
<unzip dest="${src.dir}/ic2/.." src="${download.dir}/ic2_api_${ic2.version}.zip"/>
<move file="${download.dir}/${mcpc.name}" tofile="${mcp.dir}/lib/${mcpc.name}"/>
<delete dir="${download.dir}"/>
</target>
Expand All @@ -65,26 +65,26 @@

<target name="compile" depends="copysrc">
<!-- Recompile -->
<exec dir="${mcp.dir}" executable="cmd" osfamily="windows">
<arg line="/c recompile.bat"/>
</exec>
<exec dir="${mcp.dir}" executable="sh" osfamily="unix">
<arg value="recompile.sh"/>
</exec>
<exec dir="${mcp.dir}" executable="cmd" osfamily="windows">
<arg line="/c recompile.bat"/>
</exec>
<exec dir="${mcp.dir}" executable="sh" osfamily="unix">
<arg value="recompile.sh"/>
</exec>

<!-- Reobfuscate -->
<exec dir="${mcp.dir}" executable="cmd" osfamily="windows">
<arg line="/c reobfuscate_srg.bat"/>
</exec>
<exec dir="${mcp.dir}" executable="sh" osfamily="unix">
<arg value="reobfuscate_srg.sh"/>
</exec>
<exec dir="${mcp.dir}" executable="cmd" osfamily="windows">
<arg line="/c reobfuscate_srg.bat"/>
</exec>
<exec dir="${mcp.dir}" executable="sh" osfamily="unix">
<arg value="reobfuscate_srg.sh"/>
</exec>

<!-- Copy classes -->
<copy todir="${classes.dir}">
<fileset dir="${reobf.dir}/minecraft">
<exclude name="**/ic2/**"/>
</fileset>
<exclude name="**/ic2/**"/>
</fileset>
</copy>

<!-- Delete Mod Source From MCP -->
Expand All @@ -95,7 +95,7 @@
<jar destfile="${build.dir}/AliceFixes-${af.version}.jar" basedir="${classes.dir}">
<manifest>
<attribute name="FMLCorePlugin" value="com.skcraft.alicefixes.LoadingPlugin"/>
<attribute name="FMLCorePluginContainsFMLMod" value="true"/>
<attribute name="FMLCorePluginContainsFMLMod" value="true"/>
</manifest>
</jar>
</target>
Expand Down

0 comments on commit 78bcdf3

Please sign in to comment.