This commit is contained in:
walterhiggins 2013-12-24 00:11:08 +00:00
parent a7dcb503aa
commit b2b8cdd7f3

View file

@ -5,6 +5,7 @@
<property name="build" location="target/classes"/>
<property name="dist" location="target/" />
<property name="minecraft.dir" location="${dist}/minecraft" />
<property name="js-plugins-dir" value="scriptcraft"/>
<property name="http.agent" value="'Walter'" />
<target name="testy">
<echo message="${http.agent}"/>
@ -73,13 +74,13 @@
<target name="coffeescript_setup" depends="init" description="Gets latest coffeescript compiler">
<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"
dest="${build}/coffeescript/core/_coffeescript.js"/>
dest="${build}/coffeescript/lib/coffeescript.js"/>
</target>
<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="${build}/coffeescript" />
</zip>