From df016066100df955d5ff98811e113fb2b1bd4b8a Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 26 Apr 2021 11:31:05 -0700 Subject: Implement integrated build process --- src/ext/Http/http.cmd | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/ext/Http/http.cmd (limited to 'src/ext/Http/http.cmd') diff --git a/src/ext/Http/http.cmd b/src/ext/Http/http.cmd new file mode 100644 index 00000000..e1994af3 --- /dev/null +++ b/src/ext/Http/http.cmd @@ -0,0 +1,24 @@ +@setlocal +@pushd %~dp0 + +@set _C=Debug +:parse_args +@if /i "%1"=="release" set _C=Release& shift +@if not "%1"=="" shift & goto parse_args + +@echo Http.wixext build %_C% + +:: Restore +msbuild -t:Restore -p:Configuration=%_C% || exit /b + +:: Build +msbuild -t:Build -p:Configuration=%_C% test\WixToolsetTest.Http\WixToolsetTest.Http.csproj || exit /b + +:: Test +dotnet test -c %_C% --no-build test\WixToolsetTest.Http || exit /b + +:: Pack +msbuild -t:Pack -p:Configuration=%_C% wixext\WixToolset.Http.wixext.csproj || exit /b + +@popd +@endlocal -- cgit v1.2.3-55-g6feb