diff options
author | Rob Mensching <rob@firegiant.com> | 2021-03-03 13:14:38 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-03-03 13:49:20 -0800 |
commit | f7268b6ba1fbcc25ba321205d2fdea6bd0d39b2b (patch) | |
tree | a8a5dc64f17525ad84ea4b6e4204feb0b92deb38 /appveyor.cmd | |
parent | 0cce08ec250a53f28c2b349b8d88d3d9ea7def9c (diff) | |
download | wix-f7268b6ba1fbcc25ba321205d2fdea6bd0d39b2b.tar.gz wix-f7268b6ba1fbcc25ba321205d2fdea6bd0d39b2b.tar.bz2 wix-f7268b6ba1fbcc25ba321205d2fdea6bd0d39b2b.zip |
Update to latest build infrastructure
Diffstat (limited to 'appveyor.cmd')
-rw-r--r-- | appveyor.cmd | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index 6b666bbd..8322ffae 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
@@ -1,13 +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 -Restore || exit /b | 9 | :: Build |
10 | msbuild -p:Configuration=%_C% src\test\WixToolsetTest.Util\WixToolsetTest.Util.csproj || exit /b | ||
7 | 11 | ||
8 | dotnet test -c Release --no-build src\test\WixToolsetTest.Util || exit /b | 12 | :: Test |
13 | dotnet test -c %_C% --no-build src\test\WixToolsetTest.Util || exit /b | ||
9 | 14 | ||
10 | msbuild -p:Configuration=Release -p:NoBuild=true -t:Pack src\wixext\WixToolset.Util.wixext.csproj || exit /b | 15 | :: Pack |
16 | msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.Util.wixext.csproj || exit /b | ||
11 | 17 | ||
12 | @popd | 18 | @popd |
13 | @endlocal | 19 | @endlocal |