mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-27 08:50:01 +00:00
don't break the build if Git is missing
This commit is contained in:
parent
17a00af789
commit
a899c75554
@ -280,8 +280,9 @@ goto :EOF
|
|||||||
goto :EOF
|
goto :EOF
|
||||||
|
|
||||||
:asmlauncher
|
:asmlauncher
|
||||||
1>build\buildnum.log git rev-list --count HEAD
|
2>nul 1>build\buildnum.log %GIT% rev-list --count HEAD
|
||||||
for /f "tokens=*" %%q in (build\buildnum.log) do set _build=%%q
|
if errorlevel 1 (set _build=0
|
||||||
|
) else for /f "tokens=*" %%q in (build\buildnum.log) do set _build=%%q
|
||||||
2>build\relbase.log %ACME% -DBUILDNUMBER=%_build% src\4cade.a
|
2>build\relbase.log %ACME% -DBUILDNUMBER=%_build% src\4cade.a
|
||||||
for /f "tokens=*" %%q in (build\relbase.log) do set _make=%%q
|
for /f "tokens=*" %%q in (build\relbase.log) do set _make=%%q
|
||||||
%ACME% -DBUILDNUMBER=%_build% -DRELBASE=$!_make:~-5,4! -r build\4cade.lst src\4cade.a
|
%ACME% -DBUILDNUMBER=%_build% -DRELBASE=$!_make:~-5,4! -r build\4cade.lst src\4cade.a
|
||||||
|
Loading…
Reference in New Issue
Block a user