no libraries so like uh...also killed the build number thingy

This commit is contained in:
MachineMuse 2013-01-25 00:32:16 -07:00
parent aa822343f8
commit a89b642105
2 changed files with 18 additions and 19 deletions

1
.gitignore vendored
View file

@ -1,7 +1,6 @@
/* /*
!/resource !/resource
!/src !/src
!/build_number.txt
!/mcmod.info !/mcmod.info
!/build.xml !/build.xml

View file

@ -1,12 +1,12 @@
<project name="ModularPowersuits" default="install" basedir="."> <project name="ModularPowersuits" default="install" basedir=".">
<property environment="env" /> <property environment="env" />
<property file="build_number.txt"/> <property file="build_number.txt" />
<!-- Versions --> <!-- Versions -->
<property name="build.ver" value="0.1" /> <property name="build.ver" value="0.1" />
<property name="build.number" value="0" /> <property name="build.number" value="0" />
<property name="fullversion" value ="${build.ver}.${build.number}"/> <property name="fullversion" value="${build.ver}.${build.number}" />
<property name="mcp.version" value="723" /> <property name="mcp.version" value="723" />
<property name="forge.version" value="1.4.7-6.6.0.497" /> <property name="forge.version" value="1.4.7-6.6.0.497" />
<property name="ic2api.version" value="1.112.198-lf" /> <property name="ic2api.version" value="1.112.198-lf" />
@ -82,19 +82,19 @@
</or> </or>
</condition> </condition>
<target name="revision"> <target name="revision">
<propertyfile file="build_number.txt"> <propertyfile file="build_number.txt">
<entry key="build.number" type="int" operation="+" value="1" pattern="000"/> <entry key="build.number" type="int" operation="+" value="1" pattern="000" />
</propertyfile> </propertyfile>
</target> </target>
<target name="install" depends="build"> <target name="install" depends="build">
<jar destfile="${dist.dir}/ModularPowersuits-${fullversion}.jar" basedir="${classes.dir}" /> <jar destfile="${dist.dir}/ModularPowersuits-${fullversion}.jar" basedir="${classes.dir}" />
<delete dir="${classes.dir}" /> <delete dir="${classes.dir}" />
</target> </target>
<target name="build" depends="get-coremod,setup-forge" unless="already-compiled"> <target name="build" depends="get-coremod,setup-forge" unless="already-compiled">
<antcall target="revision"/> <antcall target="revision" />
<!-- Recompile --> <!-- Recompile -->
<exec dir="${mcp.dir}" executable="cmd" osfamily="windows" failonerror="true"> <exec dir="${mcp.dir}" executable="cmd" osfamily="windows" failonerror="true">
<arg line="/c recompile.bat" /> <arg line="/c recompile.bat" />
@ -160,25 +160,25 @@
<mkdir dir="${mcpsrc.dir}/net/machinemuse" /> <mkdir dir="${mcpsrc.dir}/net/machinemuse" />
<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>
<copy todir="${mcpsrc.dir}" file="mcmod.info" /> <copy todir="${mcpsrc.dir}" file="mcmod.info" />
<mkdir dir="${mcpsrc.dir}/net/machinemuse" /> <mkdir dir="${mcpsrc.dir}/net/machinemuse" />
<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>
<!-- Copy libraries --> <!-- Copy libraries
<copy todir="${mcp.dir}/lib"> <copy todir="${mcp.dir}/lib">
<fileset dir="lib"> <fileset dir="lib">
<patternset includes="*.jar" /> <patternset includes="*.jar" />
</fileset> </fileset>
</copy> </copy> -->
</target> </target>
<target name="download-forge" depends="download-ant-contrib" unless="forge-exists"> <target name="download-forge" depends="download-ant-contrib" unless="forge-exists">