aboutsummaryrefslogtreecommitdiff
path: root/appveyor.cmd
blob: d7e705f0cb8d802d4ee892b20cfbbf345f4b3a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@setlocal
@pushd %~dp0
@set _C=Release
@if /i "%1"=="debug" set _C=Debug

:: Restore
msbuild -p:Configuration=%_C% -t:Restore || exit /b

:: Build
msbuild -p:Configuration=%_C% src\test\WixToolsetTest.Netfx\WixToolsetTest.Netfx.csproj || exit /b

:: Test
dotnet test -c %_C% --no-build src\test\WixToolsetTest.Netfx || exit /b

:: Pack
msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.Netfx.wixext.csproj || exit /b

@popd
@endlocal