added copy-js-to-live-cb target for copying js-plugins directory in source tree to craftbukkit directory

This commit is contained in:
walterhiggins 2013-01-14 22:55:39 +00:00
parent 422f3da9c4
commit b340373ea7
2 changed files with 7 additions and 1 deletions

View file

@ -7,4 +7,5 @@
# http://dl.bukkit.org/downloads/bukkit/ # http://dl.bukkit.org/downloads/bukkit/
# #
bukkit-lib=/home/walter/bukkit/target/original-bukkit-1.4.6-R0.4-SNAPSHOT.jar bukkit-lib=/home/walter/bukkit/target/original-bukkit-1.4.6-R0.4-SNAPSHOT.jar
craftbukkit=/home/walter/craftbukkit/
bukkit-version=1.4.6 bukkit-version=1.4.6

View file

@ -27,9 +27,14 @@
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file --> <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
<jar jarfile="${dist}/scriptcraft-${bukkit-version}-${DSTAMP}.jar" basedir="${build}"/> <jar jarfile="${dist}/scriptcraft-${bukkit-version}-${DSTAMP}.jar" basedir="${build}"/>
</target> </target>
<target name="clean" description="clean up" > <target name="clean" description="clean up" >
<delete dir="${build}"/> <delete dir="${build}"/>
</target> </target>
<target name="copy-js-cb-live">
<copy todir="${craftbukkit}/js-plugins">
<fileset dir="js-plugins"/>
</copy>
</target>
</project> </project>