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:
parent
2bff78f7c6
commit
5c53c9b925
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue