From b9b3a6953a77e93b4ac7cdce5ec829dff7217faf Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sat, 27 Jun 2020 03:00:11 -0700 Subject: [PATCH] Improve build batch file --- appveyor.cmd | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/appveyor.cmd b/appveyor.cmd index 7367429..6bb3b54 100644 --- a/appveyor.cmd +++ b/appveyor.cmd @@ -1,13 +1,14 @@ @setlocal @pushd %~dp0 -nuget restore +nuget restore || exit /b -msbuild -p:Configuration=Release -t:Restore +msbuild -p:Configuration=Release -t:Restore || exit /b -msbuild -p:Configuration=Release src\test\WixToolsetTest.Dependency\WixToolsetTest.Dependency.csproj +msbuild -p:Configuration=Release src\test\WixToolsetTest.Dependency\WixToolsetTest.Dependency.csproj || exit /b +dotnet test -c Release --no-build src\test\WixToolsetTest.Dependency || exit /b -msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.Dependency.wixext.csproj +msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.Dependency.wixext.csproj || exit /b @popd @endlocal \ No newline at end of file