diff options
author | Rob Mensching <rob@firegiant.com> | 2021-03-01 14:57:38 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-03-01 15:14:44 -0800 |
commit | d15c04e29d7ac167e382efe37365b8fa451728de (patch) | |
tree | 0680621cc1b167a7cad23dc774e305372488d471 /appveyor.cmd | |
parent | bfdf787bc4a6b795eb1f78b69ec9b79df2d2a203 (diff) | |
download | wix-d15c04e29d7ac167e382efe37365b8fa451728de.tar.gz wix-d15c04e29d7ac167e382efe37365b8fa451728de.tar.bz2 wix-d15c04e29d7ac167e382efe37365b8fa451728de.zip |
Update to latest build infrastructure
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 84e1d13b..847809c3 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.VisualStudio\WixToolsetTest.VisualStudio.csproj || exit /b | ||
7 | 11 | ||
8 | msbuild -p:Configuration=Release src\test\WixToolsetTest.VisualStudio\WixToolsetTest.VisualStudio.csproj || exit /b | 12 | :: Test |
9 | dotnet test -c Release --no-build src\test\WixToolsetTest.VisualStudio || exit /b | 13 | dotnet test -c %_C% --no-build src\test\WixToolsetTest.VisualStudio || exit /b |
10 | 14 | ||
11 | msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.VisualStudio.wixext.csproj || exit /b | 15 | :: Pack |
16 | msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.VisualStudio.wixext.csproj || exit /b | ||
12 | 17 | ||
13 | @popd | 18 | @popd |
14 | @endlocal \ No newline at end of file | 19 | @endlocal |