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 19:08:24 +01:00
1 parent 462e3420ea
commit fbcca3b8b2
2 files changed
+13

No files matched your search

+12
View File
@@ -1,2 +1,14 @@
@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
)
make -f gmake.mk %*