From a181c02fd5ef6d601a98778a5c9e20b5c52779ca Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Fri, 14 Feb 2025 22:29:39 -0500 Subject: Convert ext\ to MSTest and traversal projects. - Move ext\ unit tests to MSTest. - MSBuildify ext projects with MSTest execution. - Fork test support projects for MSTest: - WixInternal.TestSupport - WixInternal.Core.TestPackage --- src/ext/Util/util.cmd | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 src/ext/Util/util.cmd (limited to 'src/ext/Util/util.cmd') diff --git a/src/ext/Util/util.cmd b/src/ext/Util/util.cmd deleted file mode 100644 index 3c66e7d8..00000000 --- a/src/ext/Util/util.cmd +++ /dev/null @@ -1,45 +0,0 @@ -@setlocal -@pushd %~dp0 - -@set _C=Debug -@set _L=%~dp0..\..\..\build\logs - -:parse_args -@if /i "%1"=="release" set _C=Release -@if /i "%1"=="inc" set _INC=1 -@if /i "%1"=="clean" set _CLEAN=1 -@if not "%1"=="" shift & goto parse_args - -@set _B=%~dp0..\..\..\build\Util.wixext\%_C% - -:: Clean - -@if "%_INC%"=="" call :clean -@if NOT "%_CLEAN%"=="" goto :end - -@echo Building ext\Util %_C% using %_N% - -:: Build -msbuild -Restore -p:Configuration=%_C% -tl -nologo -warnaserror -bl:%_L%\ext_util_build.binlog || exit /b - -:: Test -dotnet test ^ - %_B%\net6.0\WixToolsetTest.Util.dll ^ - --nologo -l "trx;LogFileName=%_L%\TestResults\util.wixext.trx" || exit /b - -:: Pack -msbuild -t:Pack -p:Configuration=%_C% -tl -nologo -warnaserror -p:NoBuild=true wixext\WixToolset.Util.wixext.csproj || exit /b - -@goto :end - -:clean -@rd /s/q "..\..\build\Util.wixext" 2> nul -@del "..\..\build\artifacts\WixToolset.Util.wixext.*.nupkg" 2> nul -@del "%_L%\ext_util_build.binlog" 2> nul -@del "%_L%\TestResults\util.wixext.trx" 2> nul -@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.util.wixext" 2> nul -@exit /b - -:end -@popd -@endlocal -- cgit v1.2.3-55-g6feb