build scripts should bomb harshly when msbuild fails, so appveyor fails. and also i guess so the batchfile fails and users dont get half-finished zips with missing files

This commit is contained in:
zeromus 2017-02-23 04:51:47 -06:00
parent 2bff78f7c6
commit 5c53c9b925
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,8 @@ IF NOT EXIST %MSBUILDDIR%msbuild.exe goto MISSINGMSBUILD
call "%MSBUILDDIR%msbuild.exe" ..\BizHawk.sln /p:Configuration=Release /p:Platform="x86" /t:rebuild
@if errorlevel 1 goto MSBUILDFAILED
rmdir /s /q temp
del /s %NAME%
cd ..\output
@ -95,6 +97,10 @@ goto END
:MISSINGMSBUILD
@echo Missing msbuild.exe. can't make distro without that.
goto END
:MSBUILDFAILED
@echo msbuild failed. Usual cause: user committed broken code.
goto END
:MISSINGGIT
@echo missing git.exe. can't make distro without that.
:END