diff options
Diffstat (limited to 'appveyor.cmd')
-rw-r--r-- | appveyor.cmd | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index e5cc4731..02db695b 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
@@ -1,16 +1,20 @@ | |||
1 | @setlocal | 1 | @setlocal |
2 | @pushd %~dp0 | 2 | @pushd %~dp0 |
3 | @set _P=%~dp0build\Release\publish | 3 | @set _P=%~dp0build\Release\publish |
4 | @set _C=Release | ||
5 | @if /i "%1"=="debug" set _C=Debug | ||
4 | 6 | ||
5 | dotnet test -c Release src\test\WixToolsetTest.CoreIntegration || exit /b | 7 | :: Restore |
6 | dotnet test -c Release src\test\WixToolsetTest.Core.Burn || exit /b | 8 | msbuild -p:Configuration=%_C% -t:Restore || exit /b |
7 | 9 | ||
8 | dotnet pack -c Release src\WixToolset.Core || exit /b | 10 | :: Build |
9 | dotnet pack -c Release src\WixToolset.Core.Burn || exit /b | 11 | msbuild -p:Configuration=%_C% || exit /b |
10 | dotnet pack -c Release src\WixToolset.Core.ExtensionCache || exit /b | ||
11 | dotnet pack -c Release src\WixToolset.Core.WindowsInstaller || exit /b | ||
12 | 12 | ||
13 | dotnet pack -c Release src\WixToolset.Core.TestPackage || exit /b | 13 | :: Test |
14 | dotnet test -c %_C% --no-build || exit /b | ||
15 | |||
16 | :: Pack | ||
17 | msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack || exit /b | ||
14 | 18 | ||
15 | @popd | 19 | @popd |
16 | @endlocal | 20 | @endlocal |