blob: f0873f1d8616e0d893e0f1254a0431eaf647620e (
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 VisualStudio.wixext build %_C%
:: Build
msbuild -Restore -p:Configuration=%_C% -tl -nologo -warnaserror || exit /b
:: Test
dotnet test -c %_C% --no-build test\WixToolsetTest.VisualStudio || exit /b
:: Pack
msbuild -t:Pack -p:Configuration=%_C% -tl -nologo -warnaserror -p:NoBuild=true wixext\WixToolset.VisualStudio.wixext.csproj || exit /b
@popd
@endlocal
|