Began work on creating a dev build rather than an API
This commit is contained in:
parent
d29f7fbdfc
commit
a0386ee8c0
1 changed files with 8 additions and 4 deletions
12
build.xml
12
build.xml
|
@ -19,7 +19,7 @@
|
||||||
<property name="mcp.dir" value="${forge.dir}/mcp" />
|
<property name="mcp.dir" value="${forge.dir}/mcp" />
|
||||||
|
|
||||||
<property name="mod.name" value="BiomesOPlenty-universal-${mc.version}-${mod.version}.${mod.build}.jar" />
|
<property name="mod.name" value="BiomesOPlenty-universal-${mc.version}-${mod.version}.${mod.build}.jar" />
|
||||||
<property name="api.name" value="BiomesOPlenty-api-${mc.version}-${mod.version}.${mod.build}.zip" />
|
<property name="dev.name" value="BiomesOPlenty-dev-${mc.version}-${mod.version}.${mod.build}.zip" />
|
||||||
<property name="changelog.name" value="BiomesOPlenty-changelog-${mc.version}-${mod.version}.${mod.build}.txt" />
|
<property name="changelog.name" value="BiomesOPlenty-changelog-${mc.version}-${mod.version}.${mod.build}.txt" />
|
||||||
|
|
||||||
<property name="forge.name" value="minecraftforge-src-${mc.version}-${forge.version}.zip" />
|
<property name="forge.name" value="minecraftforge-src-${mc.version}-${forge.version}.zip" />
|
||||||
|
@ -143,6 +143,9 @@
|
||||||
<exec dir="${mcp.dir}" executable="python" osfamily="unix" resultproperty="recompile.code">
|
<exec dir="${mcp.dir}" executable="python" osfamily="unix" resultproperty="recompile.code">
|
||||||
<arg line="runtime/recompile.py" />
|
<arg line="runtime/recompile.py" />
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
|
<mkdir dir="recompiled"/>
|
||||||
|
<javac srcdir="${mcp.dir}/src/minecraft/biomesoplenty" destdir="recompiled"/>
|
||||||
|
|
||||||
<echo message="Removing source" />
|
<echo message="Removing source" />
|
||||||
<delete includeemptydirs="true">
|
<delete includeemptydirs="true">
|
||||||
|
@ -202,9 +205,10 @@
|
||||||
</fileset>
|
</fileset>
|
||||||
</jar>
|
</jar>
|
||||||
|
|
||||||
<echo message="Packaging BiomesOPlenty Api" />
|
<echo message="Packaging BiomesOPlenty Dev" />
|
||||||
<zip destfile="${dist.dir}/${api.name}">
|
<zip destfile="${dist.dir}/${dev.name}">
|
||||||
<fileset dir="${mcp.dir}/src/minecraft" includes="**/biomesoplenty/api/**" />
|
<fileset dir="recompiled" includes="**/biomesoplenty/**" />
|
||||||
|
<!-- <fileset dir="${mcp.dir}/src/minecraft" includes="**/biomesoplenty/api/**" /> -->
|
||||||
</zip>
|
</zip>
|
||||||
|
|
||||||
<echo message="Renaming BiomesOPlenty Changelog" />
|
<echo message="Renaming BiomesOPlenty Changelog" />
|
||||||
|
|
Loading…
Reference in a new issue