Made a script based on "publish.bat" that simply packs a local-only test build

This commit is contained in:
Brian Ricketts 2012-12-29 23:42:19 -06:00
parent 90024ad8c2
commit 0c5498ecb7
3 changed files with 320 additions and 291 deletions

1
.gitignore vendored
View file

@ -13,4 +13,5 @@ CHANGELOG
!info.txt
!publish.bat
!include.bat
!buildlocal.bat
!/README

28
buildlocal.bat Normal file
View file

@ -0,0 +1,28 @@
::ASSEMBLY LINE BUILDER
@echo off
set FILE_NAME=AssemblyLine_v%MODVERSION%.%BUILD_NUMBER%.jar
set API_NAME=AssemblyLine_v%MODVERSION%.%BUILD_NUMBER%_api.zip
set BACKUP_NAME=AssemblyLine_v%MODVERSION%.%BUILD_NUMBER%_backup.zip
echo Starting to build %FILE_NAME%
::BUILD
runtime\bin\python\python_mcp runtime\recompile.py %*
runtime\bin\python\python_mcp runtime\reobfuscate.py %*
::ZIP-UP
cd reobf\minecraft\
"..\..\..\7za.exe" a "..\..\builds\%FILE_NAME%" "*"
cd ..\..\
cd resources\
"..\..\7za.exe" a "..\builds\%FILE_NAME%" "*"
"..\..\7za.exe" a "..\builds\%BACKUP_NAME%" "*" -pdarkguardsman
cd ..\
cd src\
"..\..\7za.exe" a "..\builds\%BACKUP_NAME%" "*\assemblyline\" -pdarkguardsman
"..\..\7za.exe" a "..\builds\%API_NAME%" "*\assemblyline\api\"
cd ..\
echo Done building %FILE_NAME% for UE %UE_VERSION%
pause