aboutsummaryrefslogtreecommitdiff
path: root/appveyor.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.cmd')
-rw-r--r--appveyor.cmd14
1 files changed, 10 insertions, 4 deletions
diff --git a/appveyor.cmd b/appveyor.cmd
index 6b666bbd..8322ffae 100644
--- a/appveyor.cmd
+++ b/appveyor.cmd
@@ -1,13 +1,19 @@
1@setlocal 1@setlocal
2@pushd %~dp0 2@pushd %~dp0
3@set _C=Release
4@if /i "%1"=="debug" set _C=Debug
3 5
4nuget restore || exit /b 6:: Restore
7msbuild -p:Configuration=%_C% -t:Restore || exit /b
5 8
6msbuild -p:Configuration=Release -Restore || exit /b 9:: Build
10msbuild -p:Configuration=%_C% src\test\WixToolsetTest.Util\WixToolsetTest.Util.csproj || exit /b
7 11
8dotnet test -c Release --no-build src\test\WixToolsetTest.Util || exit /b 12:: Test
13dotnet test -c %_C% --no-build src\test\WixToolsetTest.Util || exit /b
9 14
10msbuild -p:Configuration=Release -p:NoBuild=true -t:Pack src\wixext\WixToolset.Util.wixext.csproj || exit /b 15:: Pack
16msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.Util.wixext.csproj || exit /b
11 17
12@popd 18@popd
13@endlocal 19@endlocal