Updated build script to not put Bukkit plugin.yml file inside the release ZIP.

Dieser Commit ist enthalten in:
sk89q 2011-01-08 13:13:40 -08:00
Ursprung 98afdd7df6
Commit 03cf12fcfd

Datei anzeigen

@ -37,7 +37,7 @@
<!--<attribute name="Main-Class" value="com.sk89q.worldedit.cli.Main"/>--> <!--<attribute name="Main-Class" value="com.sk89q.worldedit.cli.Main"/>-->
</manifest> </manifest>
<copy tofile="${build.dir}/plugin.yml" file="plugin.yml"/> <copy tofile="${build.dir}/plugin.yml" file="plugin.yml"/>
<jar jarfile="${dist.dir}/WorldEdit.jar" basedir="${build.dir}" manifest="manifest.mf"/> <jar jarfile="${dist.dir}/WorldEdit.jar" basedir="${build.dir}" manifest="manifest.mf" />
</target> </target>
<!-- Create the .jar --> <!-- Create the .jar -->
@ -61,12 +61,12 @@
<copy tofile="${release.dir}/plugin.yml" file="plugin.yml"/> <copy tofile="${release.dir}/plugin.yml" file="plugin.yml"/>
<replace file="${release.dir}/plugin.yml" token="WEVERSIONMACRO" value="${version}"/> <replace file="${release.dir}/plugin.yml" token="WEVERSIONMACRO" value="${version}"/>
<copy tofile="${release.dir}/WorldEdit.jar" file="${dist.dir}/WorldEdit.jar"/> <copy tofile="${release.dir}/WorldEdit.jar" file="${dist.dir}/WorldEdit.jar"/>
<zip destfile="${release.dir}/worldedit-${version}.zip" basedir="${release.dir}" excludes="*.zip"/> <zip destfile="${release.dir}/worldedit-${version}.zip" basedir="${release.dir}" excludes="*.zip plugin.yml"/>
<mkdir dir="${release.dir}/src"/> <mkdir dir="${release.dir}/src"/>
<copy todir="${release.dir}/src"> <copy todir="${release.dir}/src">
<fileset dir="${src.dir}"/> <fileset dir="${src.dir}"/>
</copy> </copy>
<zip destfile="${release.dir}/worldedit-${version}-src.zip" basedir="${release.dir}" excludes="*.zip"/> <zip destfile="${release.dir}/worldedit-${version}-src.zip" basedir="${release.dir}" excludes="*.zip plugin.yml"/>
</target> </target>
<!-- Clean the output --> <!-- Clean the output -->