mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-06-02 11:19:20 -04:00
18 lines
375 B
Batchfile
18 lines
375 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
set "PROJECT_DIR=%~dp0"
|
|
set "OUTPUT_DIR=%~dp0..\..\..\steamworks\editor-launcher-output"
|
|
|
|
echo Building Editor Launcher (NativeAOT)...
|
|
dotnet publish "%PROJECT_DIR%EditorLauncher.csproj" -c Release -o "%OUTPUT_DIR%"
|
|
|
|
if %ERRORLEVEL% neq 0 (
|
|
echo.
|
|
echo Build failed!
|
|
exit /b 1
|
|
)
|
|
|
|
echo.
|
|
echo Build complete. Output: %OUTPUT_DIR%\sbox-editor.exe
|