diff options
author | Rob Mensching <rob@firegiant.com> | 2021-02-27 15:38:50 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-02-27 15:42:33 -0800 |
commit | 1550b30702ae4e83ea8b30bf95a4f20a6424aa4b (patch) | |
tree | 5093d4cd9dbf7999782382e1b91ad225f9c121d7 /appveyor.cmd | |
parent | 3fae69ccb71d99c79adba6855ba7d6402216085d (diff) | |
download | wix-1550b30702ae4e83ea8b30bf95a4f20a6424aa4b.tar.gz wix-1550b30702ae4e83ea8b30bf95a4f20a6424aa4b.tar.bz2 wix-1550b30702ae4e83ea8b30bf95a4f20a6424aa4b.zip |
Include native .pdbs in .wixext.nupkg and refine build process
Diffstat (limited to 'appveyor.cmd')
-rw-r--r-- | appveyor.cmd | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index 6bb3b543..3450d535 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 | ||
4 | nuget restore || exit /b | 6 | :: Restore |
7 | msbuild -p:Configuration=%_C% -t:Restore || exit /b | ||
5 | 8 | ||
6 | msbuild -p:Configuration=Release -t:Restore || exit /b | 9 | :: Build |
10 | msbuild -p:Configuration=%_C% src\test\WixToolsetTest.Dependency\WixToolsetTest.Dependency.csproj || exit /b | ||
7 | 11 | ||
8 | msbuild -p:Configuration=Release src\test\WixToolsetTest.Dependency\WixToolsetTest.Dependency.csproj || exit /b | 12 | :: Test |
9 | dotnet test -c Release --no-build src\test\WixToolsetTest.Dependency || exit /b | 13 | dotnet test -c %_C% --no-build src\test\WixToolsetTest.Dependency || exit /b |
10 | 14 | ||
11 | msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.Dependency.wixext.csproj || exit /b | 15 | :: Pack |
16 | msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.Dependency.wixext.csproj || exit /b | ||
12 | 17 | ||
13 | @popd | 18 | @popd |
14 | @endlocal \ No newline at end of file | 19 | @endlocal |