blob: 8322ffaebcc0e02201dc3c77d9d9d43b85b71aed (
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.Util\WixToolsetTest.Util.csproj || exit /b
:: Test
dotnet test -c %_C% --no-build src\test\WixToolsetTest.Util || exit /b
:: Pack
msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.Util.wixext.csproj || exit /b
@popd
@endlocal
|