reorg
This commit is contained in:
parent
a7dcb503aa
commit
b2b8cdd7f3
1 changed files with 4 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
||||||
<property name="build" location="target/classes"/>
|
<property name="build" location="target/classes"/>
|
||||||
<property name="dist" location="target/" />
|
<property name="dist" location="target/" />
|
||||||
<property name="minecraft.dir" location="${dist}/minecraft" />
|
<property name="minecraft.dir" location="${dist}/minecraft" />
|
||||||
|
<property name="js-plugins-dir" value="scriptcraft"/>
|
||||||
<property name="http.agent" value="'Walter'" />
|
<property name="http.agent" value="'Walter'" />
|
||||||
<target name="testy">
|
<target name="testy">
|
||||||
<echo message="${http.agent}"/>
|
<echo message="${http.agent}"/>
|
||||||
|
@ -73,13 +74,13 @@
|
||||||
|
|
||||||
<target name="coffeescript_setup" depends="init" description="Gets latest coffeescript compiler">
|
<target name="coffeescript_setup" depends="init" description="Gets latest coffeescript compiler">
|
||||||
<echo>Retrieving Coffeescript compiler</echo>
|
<echo>Retrieving Coffeescript compiler</echo>
|
||||||
<mkdir dir="${build}/coffeescript/core" />
|
<mkdir dir="${build}/coffeescript/lib" />
|
||||||
<get src="https://raw.github.com/jashkenas/coffee-script/master/extras/coffee-script.js"
|
<get src="https://raw.github.com/jashkenas/coffee-script/master/extras/coffee-script.js"
|
||||||
dest="${build}/coffeescript/core/_coffeescript.js"/>
|
dest="${build}/coffeescript/lib/coffeescript.js"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="zip_js" depends="coffeescript_setup">
|
<target name="zip_js" depends="coffeescript_setup">
|
||||||
<zip destfile="${build}/js-plugins.zip">
|
<zip destfile="${build}/${js-plugins-dir}.zip">
|
||||||
<zipfileset dir="./src/main/javascript" />
|
<zipfileset dir="./src/main/javascript" />
|
||||||
<zipfileset dir="${build}/coffeescript" />
|
<zipfileset dir="${build}/coffeescript" />
|
||||||
</zip>
|
</zip>
|
||||||
|
|
Reference in a new issue