From d15c04e29d7ac167e382efe37365b8fa451728de Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 1 Mar 2021 14:57:38 -0800 Subject: Update to latest build infrastructure --- appveyor.cmd | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'appveyor.cmd') diff --git a/appveyor.cmd b/appveyor.cmd index 84e1d13b..847809c3 100644 --- a/appveyor.cmd +++ b/appveyor.cmd @@ -1,14 +1,19 @@ @setlocal @pushd %~dp0 +@set _C=Release +@if /i "%1"=="debug" set _C=Debug -nuget restore || exit /b +:: Restore +msbuild -p:Configuration=%_C% -t:Restore || exit /b -msbuild -p:Configuration=Release -t:Restore || exit /b +:: Build +msbuild -p:Configuration=%_C% src\test\WixToolsetTest.VisualStudio\WixToolsetTest.VisualStudio.csproj || exit /b -msbuild -p:Configuration=Release src\test\WixToolsetTest.VisualStudio\WixToolsetTest.VisualStudio.csproj || exit /b -dotnet test -c Release --no-build src\test\WixToolsetTest.VisualStudio || exit /b +:: Test +dotnet test -c %_C% --no-build src\test\WixToolsetTest.VisualStudio || exit /b -msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.VisualStudio.wixext.csproj || exit /b +:: Pack +msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.VisualStudio.wixext.csproj || exit /b @popd -@endlocal \ No newline at end of file +@endlocal -- cgit v1.2.3-55-g6feb