mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-13 18:33:22 +00:00
* Mirror of tgstation's Common Build Tooling (#55373) * tgui 4.3 (#56080) Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
16 lines
364 B
Batchfile
16 lines
364 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 TG_BUILD_TGS_MODE=1
|
|
tools\build\build
|