Made a script based on "publish.bat" that simply packs a local-only test build
This commit is contained in:
parent
90024ad8c2
commit
0c5498ecb7
3 changed files with 320 additions and 291 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -13,4 +13,5 @@ CHANGELOG
|
|||
!info.txt
|
||||
!publish.bat
|
||||
!include.bat
|
||||
!buildlocal.bat
|
||||
!/README
|
28
buildlocal.bat
Normal file
28
buildlocal.bat
Normal 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
|
Loading…
Reference in a new issue