Improve build batch file
Rob Mensching committed
Jun 27, 2020 at 03:19 UTC
bf6deb49e0bdbf00ea2d00ac8b35add2060b946d
1 file changed
+5
-4
appveyor.cmd
+5
-4
@@ -1,13 +1,14 @@
1
@setlocal
2
@pushd %~dp0
3
4
-nuget restore
4
+nuget restore || exit /b
5
6
-msbuild -p:Configuration=Release -t:Restore
6
+msbuild -p:Configuration=Release -t:Restore || exit /b
7
8
-msbuild -p:Configuration=Release src\test\WixToolsetTest.VisualStudio\WixToolsetTest.VisualStudio.csproj
8
+msbuild -p:Configuration=Release src\test\WixToolsetTest.VisualStudio\WixToolsetTest.VisualStudio.csproj || exit /b
9
+dotnet test -c Release --no-build src\test\WixToolsetTest.VisualStudio || exit /b
10
10
-msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.VisualStudio.wixext.csproj
11
+msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.VisualStudio.wixext.csproj || exit /b
12
13
@popd
14
@endlocal
\ No newline at end of file