diff options
Diffstat (limited to 'appveyor.cmd')
-rw-r--r-- | appveyor.cmd | 7 |
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 | ||
7 | nuget restore || exit /b | 9 | nuget restore || exit /b |
8 | 10 | ||
9 | dotnet test -c %_C% src\test\WixToolsetTest.BuildTasks || exit /b | 11 | :: Build |
12 | msbuild -p:Configuration=%_C% || exit /b | ||
10 | 13 | ||
14 | :: Test | ||
11 | dotnet publish -c %_C% -o %_P%\dotnet-wix\ -f netcoreapp2.1 src\wix || exit /b | 15 | dotnet publish -c %_C% -o %_P%\dotnet-wix\ -f netcoreapp2.1 src\wix || exit /b |
12 | 16 | ||
13 | dotnet publish -c %_C% -o %_P%\WixToolset.Sdk\separate\net461\x86\buildtasks\ -f net461 -r win-x86 src\WixToolset.BuildTasks || exit /b | 17 | dotnet 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 | ||
37 | dotnet test -c %_C% src\test\WixToolsetTest.Sdk || exit /b | 41 | dotnet test -c %_C% src\test\WixToolsetTest.Sdk || exit /b |
38 | 42 | ||
43 | :: Pack | ||
39 | dotnet pack -c %_C% src\dotnet-wix || exit /b | 44 | dotnet pack -c %_C% src\dotnet-wix || exit /b |
40 | dotnet pack -c %_C% src\WixToolset.Sdk || exit /b | 45 | dotnet pack -c %_C% src\WixToolset.Sdk || exit /b |
41 | 46 | ||