aboutsummaryrefslogtreecommitdiff
path: root/appveyor.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.cmd')
-rw-r--r--appveyor.cmd17
1 files changed, 11 insertions, 6 deletions
diff --git a/appveyor.cmd b/appveyor.cmd
index 26804036..f21449d2 100644
--- a/appveyor.cmd
+++ b/appveyor.cmd
@@ -1,14 +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 -t:Restore || exit /b 9:: Build
10msbuild -p:Configuration=%_C% src\test\WixToolsetTest.Sql\WixToolsetTest.Sql.csproj || exit /b
7 11
8msbuild -p:Configuration=Release src\test\WixToolsetTest.Sql\WixToolsetTest.Sql.csproj || exit /b 12:: Test
9dotnet test -c Release --no-build src\test\WixToolsetTest.Sql || exit /b 13dotnet test -c %_C% --no-build src\test\WixToolsetTest.Sql || exit /b
10 14
11msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.Sql.wixext.csproj || exit /b 15:: Pack
16msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.Sql.wixext.csproj || exit /b
12 17
13@popd 18@popd
14@endlocal \ No newline at end of file 19@endlocal