diff options
| author | Bob Arnson <bob@firegiant.com> | 2025-02-14 22:29:39 -0500 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2025-02-14 22:29:39 -0500 |
| commit | a181c02fd5ef6d601a98778a5c9e20b5c52779ca (patch) | |
| tree | 7f6989e81ce05264f4c93e481e257a8cebdc6ded /src/ext/UI/ui.cmd | |
| parent | 1be4e0930eb296f44b8cecd10fc9632a867149ce (diff) | |
| download | wix-a181c02fd5ef6d601a98778a5c9e20b5c52779ca.tar.gz wix-a181c02fd5ef6d601a98778a5c9e20b5c52779ca.tar.bz2 wix-a181c02fd5ef6d601a98778a5c9e20b5c52779ca.zip | |
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
Diffstat (limited to 'src/ext/UI/ui.cmd')
| -rw-r--r-- | src/ext/UI/ui.cmd | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/ext/UI/ui.cmd b/src/ext/UI/ui.cmd deleted file mode 100644 index a990db91..00000000 --- a/src/ext/UI/ui.cmd +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | @setlocal | ||
| 2 | @pushd %~dp0 | ||
| 3 | |||
| 4 | @set _C=Debug | ||
| 5 | @set _L=%~dp0..\..\..\build\logs | ||
| 6 | |||
| 7 | :parse_args | ||
| 8 | @if /i "%1"=="release" set _C=Release | ||
| 9 | @if /i "%1"=="inc" set _INC=1 | ||
| 10 | @if /i "%1"=="clean" set _CLEAN=1 | ||
| 11 | @if not "%1"=="" shift & goto parse_args | ||
| 12 | |||
| 13 | @set _B=%~dp0..\..\..\build\UI.wixext\%_C% | ||
| 14 | |||
| 15 | :: Clean | ||
| 16 | |||
| 17 | @if "%_INC%"=="" call :clean | ||
| 18 | @if NOT "%_CLEAN%"=="" goto :end | ||
| 19 | |||
| 20 | @echo UI.wixext build %_C% | ||
| 21 | |||
| 22 | :: Build | ||
| 23 | msbuild -Restore -p:Configuration=%_C% -tl -nologo -warnaserror -bl:%_L%\ext_ui_build.binlog || exit /b | ||
| 24 | |||
| 25 | :: Test | ||
| 26 | dotnet test -c %_C% --no-build test\WixToolsetTest.UI || exit /b | ||
| 27 | |||
| 28 | :: Pack | ||
| 29 | msbuild -t:Pack -p:Configuration=%_C% -tl -nologo -warnaserror -p:NoBuild=true wixext\WixToolset.UI.wixext.csproj || exit /b | ||
| 30 | |||
| 31 | @goto :end | ||
| 32 | |||
| 33 | :clean | ||
| 34 | @rd /s/q "..\..\..\build\UI.wixext" 2> nul | ||
| 35 | @del "..\..\..\build\artifacts\WixToolset.UI.wixext.*.nupkg" 2> nul | ||
| 36 | @del "%_L%\ext_ui_build.binlog" 2> nul | ||
| 37 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.ui.wixext" 2> nul | ||
| 38 | @exit /b | ||
| 39 | |||
| 40 | :end | ||
| 41 | @popd | ||
| 42 | @endlocal | ||
