aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Iis/iis.cmd
blob: 49e3e0b7f30c42de83123b77f692015e7687b832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@setlocal
@pushd %~dp0

@set _C=Debug
:parse_args
@if /i "%1"=="release" set _C=Release
@if not "%1"=="" shift & goto parse_args

@echo Iis.wixext build %_C%

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

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

:: Pack
dotnet pack wixext\WixToolset.Iis.wixext.csproj -c %_C% --no-build --nologo || exit /b

@popd
@endlocal