aboutsummaryrefslogtreecommitdiff
path: root/appveyor.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.cmd')
-rw-r--r--appveyor.cmd7
1 files changed, 6 insertions, 1 deletions
diff --git a/appveyor.cmd b/appveyor.cmd
index f12f3903..23058ece 100644
--- a/appveyor.cmd
+++ b/appveyor.cmd
@@ -3,11 +3,15 @@
3@set _C=Release 3@set _C=Release
4@set _P=%~dp0build\%_C%\publish 4@set _P=%~dp0build\%_C%\publish
5@set _RCO=/S /R:1 /W:1 /NP /XO /NS /NC /NFL /NDL /NJH /NJS 5@set _RCO=/S /R:1 /W:1 /NP /XO /NS /NC /NFL /NDL /NJH /NJS
6@if /i "%1"=="debug" set _C=Debug
6 7
8:: Restore
7nuget restore || exit /b 9nuget restore || exit /b
8 10
9dotnet test -c %_C% src\test\WixToolsetTest.BuildTasks || exit /b 11:: Build
12msbuild -p:Configuration=%_C% || exit /b
10 13
14:: Test
11dotnet publish -c %_C% -o %_P%\dotnet-wix\ -f netcoreapp2.1 src\wix || exit /b 15dotnet publish -c %_C% -o %_P%\dotnet-wix\ -f netcoreapp2.1 src\wix || exit /b
12 16
13dotnet publish -c %_C% -o %_P%\WixToolset.Sdk\separate\net461\x86\buildtasks\ -f net461 -r win-x86 src\WixToolset.BuildTasks || exit /b 17dotnet publish -c %_C% -o %_P%\WixToolset.Sdk\separate\net461\x86\buildtasks\ -f net461 -r win-x86 src\WixToolset.BuildTasks || exit /b
@@ -36,6 +40,7 @@ dotnet publish -c %_C% -o %_P%\WixToolset.Sdk\broken\net461\ -f net461 -r dne sr
36 40
37dotnet test -c %_C% src\test\WixToolsetTest.Sdk || exit /b 41dotnet test -c %_C% src\test\WixToolsetTest.Sdk || exit /b
38 42
43:: Pack
39dotnet pack -c %_C% src\dotnet-wix || exit /b 44dotnet pack -c %_C% src\dotnet-wix || exit /b
40dotnet pack -c %_C% src\WixToolset.Sdk || exit /b 45dotnet pack -c %_C% src\WixToolset.Sdk || exit /b
41 46