Build script now injects the version into the source.
This commit is contained in:
parent
35f1c754a5
commit
427035ae20
1 changed files with 8 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
<property name="mcp.version" value="62"/>
|
<property name="mcp.version" value="62"/>
|
||||||
<property name="forge.version" value="3.3.7.135"/>
|
<property name="forge.version" value="3.3.7.135"/>
|
||||||
<property name="bc.version" value="3.2"/>
|
<property name="bc.version" value="3.2dev"/>
|
||||||
|
|
||||||
<!-- Targets -->
|
<!-- Targets -->
|
||||||
|
|
||||||
|
@ -75,7 +75,11 @@
|
||||||
<fileset dir="${src.dir}/common">
|
<fileset dir="${src.dir}/common">
|
||||||
<exclude name="**/buildcraft/devel"/>
|
<exclude name="**/buildcraft/devel"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
|
<filterset>
|
||||||
|
<filter token="VERSION" value="${bc.version}" />
|
||||||
|
</filterset>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<copy todir="${serversrc.dir}">
|
<copy todir="${serversrc.dir}">
|
||||||
<fileset dir="${src.dir}/buildcraft_server">
|
<fileset dir="${src.dir}/buildcraft_server">
|
||||||
<exclude name="**/mod_BuildCraftDevel.*"/>
|
<exclude name="**/mod_BuildCraftDevel.*"/>
|
||||||
|
@ -85,6 +89,9 @@
|
||||||
<fileset dir="${src.dir}/common">
|
<fileset dir="${src.dir}/common">
|
||||||
<exclude name="**/buildcraft/devel"/>
|
<exclude name="**/buildcraft/devel"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
|
<filterset>
|
||||||
|
<filter token="VERSION" value="${bc.version}" />
|
||||||
|
</filterset>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
Loading…
Reference in a new issue