Files
Bubberstation/tools/tgs_scripts/PreCompile.bat
SkyratBot 710319fced [MIRROR] Update some TGS stuff [MDB IGNORE] (#19485)
* Update some TGS stuff

* You're welcome Cyber

---------

Co-authored-by: Jordan Dominion <Cyberboss@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2023-02-26 19:06:30 -05:00

16 lines
362 B
Batchfile

@echo off
cd /D "%~dp0"
set TG_BOOTSTRAP_CACHE=%cd%
IF NOT %1 == "" (
rem TGS4+: we are passed the game directory on the command line
cd %1
) ELSE IF EXIST "..\Game\B\tgstation.dmb" (
rem TGS3: Game/B/tgstation.dmb exists, so build in Game/A
cd ..\Game\A
) ELSE (
rem TGS3: Otherwise build in Game/B
cd ..\Game\B
)
set CBT_BUILD_MODE=TGS
tools\build\build