blob: 1b5a3a6ce3fc7f8c36a2f922b004548591f1061d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
@setlocal
@pushd %~dp0
@set _C=Debug
:parse_args
@if /i "%1"=="release" set _C=Release& shift
@if not "%1"=="" shift & goto parse_args
@echo Building ext\UI %_C%
:: Restore
@REM nuget restore || exit /b
msbuild -t:Restore -p:RestorePackagesConfig=true -p:Configuration=%_C% || exit /b
:: Build
msbuild -t:Build -p:Configuration=%_C% test\WixToolsetTest.UI\WixToolsetTest.UI.csproj || exit /b
:: Test
dotnet test -c %_C% --no-build test\WixToolsetTest.UI || exit /b
:: Pack
msbuild -t:Pack -p:Configuration=%_C% wixext\WixToolset.UI.wixext.csproj || exit /b
@popd
@endlocal
|