fix: build.bat builds release before install

Matches build.sh: running install without release already built
previously just failed or installed stale artifacts.
This commit is contained in:
anth64 committed 2026-11-10 18:59:27 +01:00
1 parent 46a05c0e88
commit fb2ea1a1fe
2 files changed
+13

No files matched your search

+12
View File
@@ -1,4 +1,16 @@
@echo off
setlocal
set HAS_INSTALL=0
for %%a in (%*) do (
if "%%a"=="install" set HAS_INSTALL=1
)
if "%HAS_INSTALL%"=="1" (
make -f gmake.mk release
if errorlevel 1 exit /b 1
)
if "%1"=="run" (
if "%2"=="" (
make -f gmake.mk run MODE=debug