Added Updatr support to build process.

This commit is contained in:
sk89q 2010-12-30 01:21:11 -08:00
parent 18e4c55885
commit 97835c97c9
2 changed files with 7 additions and 0 deletions

View File

@ -51,6 +51,8 @@
<fileset dir="."/> <fileset dir="."/>
<globmapper from="*.txt" to="*.txt"/> <globmapper from="*.txt" to="*.txt"/>
</copy> </copy>
<copy tofile="${release.dir}/worldedit.updatr" file="worldedit.updatr"/>
<replace file="${release.dir}/worldedit.updatr" token="%version%" value="${version}"/>
<copy tofile="${release.dir}/WorldEdit.jar" file="${dist.dir}/WorldEdit.jar"/> <copy tofile="${release.dir}/WorldEdit.jar" file="${dist.dir}/WorldEdit.jar"/>
<copy todir="${release.dir}"> <copy todir="${release.dir}">
<fileset dir="lib"> <fileset dir="lib">

5
worldedit.updatr Normal file
View File

@ -0,0 +1,5 @@
name = WorldEdit
version = %version%
url = updatr.update.sk89q.com/worldedit.updatr
file = github.com/downloads/sk89q/worldedit/worldedit-%version%.zip
notes =