Matches build.sh: running install without release already built previously just failed or installed stale artifacts.
15 lines
203 B
Batchfile
Executable File
15 lines
203 B
Batchfile
Executable File
@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 %*
|