mach.bat: exit with an error code

This commit is contained in:
Simon Sapin 2018-09-30 23:12:12 +02:00
parent c2d868f213
commit 1bab9fb64f

View file

@ -25,13 +25,13 @@ IF EXIST "%VS_VCVARS%" (
call "%VS_VCVARS%" x64
) ELSE (
ECHO 32-bit Windows is currently unsupported.
EXIT /B
EXIT /B 1
)
)
) ELSE (
ECHO Visual Studio 2015 or 2017 is not installed.
ECHO Download and install Visual Studio 2015 or 2017 from https://www.visualstudio.com/
EXIT /B
EXIT /B 1
)
popd