20 строки
460 B
Batchfile
20 строки
460 B
Batchfile
@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
|