dynmap/build.bat
fescen9 70cb6a5a7f Keep a copy of the latest distribution for users looking for a pre-compiled jar.
Updated build scripts to output rar file to dist folder.
2010-12-10 06:49:56 +00:00

24 lines
530 B
Batchfile

@ECHO OFF
CD E:\Projects\DynamicMap\branches\fescen9
CALL clean.bat
MKDIR plugins
MKDIR plugins\web
MKDIR plugins\web\tiles
MKDIR plugins\web\up
javac *.java -cp ..\..\..\Minecraft_Mod.jar;..\..\..\minecraft_server.jar
jar cvf plugins\map.jar *.class
COPY colors.txt .\plugins
COPY readme.txt .\plugins
COPY .\web\*.* .\plugins\web
COPY .\web\tiles\*.* .\plugins\web\tiles
COPY .\web\up\*.* .\plugins\web\up
CALL "C:\Program Files\WinRAR\Rar.exe" a -m5 -ed -r .\dist\DynamicMap.rar .\plugins\*.*
PAUSE