From e39bb78e89148ef1635085c58cc348c1291d4439 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Thu, 18 Jun 2020 21:44:23 +1000 Subject: [PATCH] Fail build on each command. --- appveyor.cmd | 24 ++++++++++++------------ src/wcautil/packages.config | 2 +- src/wcautil/wcautil.vcxproj | 6 +++--- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/appveyor.cmd b/appveyor.cmd index fde7f34..c1d4dbf 100644 --- a/appveyor.cmd +++ b/appveyor.cmd @@ -1,22 +1,22 @@ @setlocal @pushd %~dp0 -nuget restore +nuget restore || exit /b -msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v140 -msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v140 +msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v140 || exit /b +msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v140 || exit /b -msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v141 -msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v141 -msbuild -p:Configuration=Release;Platform=ARM;PlatformToolset=v141 -msbuild -p:Configuration=Release;Platform=ARM64;PlatformToolset=v141 +msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v141 || exit /b +msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v141 || exit /b +msbuild -p:Configuration=Release;Platform=ARM;PlatformToolset=v141 || exit /b +msbuild -p:Configuration=Release;Platform=ARM64;PlatformToolset=v141 || exit /b -msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v142 -msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v142 -msbuild -p:Configuration=Release;Platform=ARM;PlatformToolset=v142 -msbuild -p:Configuration=Release;Platform=ARM64;PlatformToolset=v142 +msbuild -p:Configuration=Release;Platform=x86;PlatformToolset=v142 || exit /b +msbuild -p:Configuration=Release;Platform=x64;PlatformToolset=v142 || exit /b +msbuild -p:Configuration=Release;Platform=ARM;PlatformToolset=v142 || exit /b +msbuild -p:Configuration=Release;Platform=ARM64;PlatformToolset=v142 || exit /b -msbuild -p:Configuration=Release -t:PackNativeNuget src\wcautil\wcautil.vcxproj +msbuild -p:Configuration=Release -t:PackNativeNuget src\wcautil\wcautil.vcxproj || exit /b @popd @endlocal \ No newline at end of file diff --git a/src/wcautil/packages.config b/src/wcautil/packages.config index 0b643ac..adda87b 100644 --- a/src/wcautil/packages.config +++ b/src/wcautil/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/src/wcautil/wcautil.vcxproj b/src/wcautil/wcautil.vcxproj index a31994a..2d02754 100644 --- a/src/wcautil/wcautil.vcxproj +++ b/src/wcautil/wcautil.vcxproj @@ -1,7 +1,7 @@ - + - + Debug @@ -98,6 +98,6 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file