Improve build batch file
Rob Mensching committed
Jun 27, 2020 at 15:29 UTC
a6b77f7e7f1a36a1fe8fdee6ba1e78c994e100e7
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.UI\WixToolsetTest.UI.csproj
8
+msbuild -p:Configuration=Release src\test\WixToolsetTest.UI\WixToolsetTest.UI.csproj || exit /b
9
+dotnet test -c Release --no-build src\test\WixToolsetTest.UI || exit /b
10
10
-msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.UI.wixext.csproj
11
+msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.UI.wixext.csproj || exit /b
12
13
@popd
14
@endlocal
\ No newline at end of file