diff options
| author | Rob Mensching <rob@firegiant.com> | 2023-02-14 23:11:29 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2023-02-21 23:31:32 -0700 |
| commit | 3cb9bbe90e329a3550bb55fda5c620f23fc4eb86 (patch) | |
| tree | 78064d1008a6f8c6682e8adc9b4f85d18e4bfed2 /src/ext/UI/ui.cmd | |
| parent | 69f11ee0275692528ed034a3885fa9f0c1504704 (diff) | |
| download | wix-3cb9bbe90e329a3550bb55fda5c620f23fc4eb86.tar.gz wix-3cb9bbe90e329a3550bb55fda5c620f23fc4eb86.tar.bz2 wix-3cb9bbe90e329a3550bb55fda5c620f23fc4eb86.zip | |
Update some extensions to take advantage of multitargeting project references
Diffstat (limited to 'src/ext/UI/ui.cmd')
| -rw-r--r-- | src/ext/UI/ui.cmd | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ext/UI/ui.cmd b/src/ext/UI/ui.cmd index 3823f45a..0b0036af 100644 --- a/src/ext/UI/ui.cmd +++ b/src/ext/UI/ui.cmd | |||
| @@ -8,6 +8,8 @@ | |||
| 8 | @if /i "%1"=="clean" set _CLEAN=1 | 8 | @if /i "%1"=="clean" set _CLEAN=1 |
| 9 | @if not "%1"=="" shift & goto parse_args | 9 | @if not "%1"=="" shift & goto parse_args |
| 10 | 10 | ||
| 11 | @set _B=%~dp0..\..\..\build\UI.wixext\%_C% | ||
| 12 | |||
| 11 | :: Clean | 13 | :: Clean |
| 12 | 14 | ||
| 13 | @if "%_INC%"=="" call :clean | 15 | @if "%_INC%"=="" call :clean |
| @@ -16,7 +18,7 @@ | |||
| 16 | @echo UI.wixext build %_C% | 18 | @echo UI.wixext build %_C% |
| 17 | 19 | ||
| 18 | :: Build | 20 | :: Build |
| 19 | msbuild -Restore -p:Configuration=%_C% || exit /b | 21 | msbuild -Restore -p:Configuration=%_C% -warnaserror -bl:%_L%\ext_ui_build.binlog || exit /b |
| 20 | 22 | ||
| 21 | :: Test | 23 | :: Test |
| 22 | :: dotnet test -c %_C% --no-build test\WixToolsetTest.UI || exit /b | 24 | :: dotnet test -c %_C% --no-build test\WixToolsetTest.UI || exit /b |
| @@ -29,6 +31,7 @@ msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wixext\WixToolset.UI.wixex | |||
| 29 | :clean | 31 | :clean |
| 30 | @rd /s/q "..\..\..\build\UI.wixext" 2> nul | 32 | @rd /s/q "..\..\..\build\UI.wixext" 2> nul |
| 31 | @del "..\..\..\build\artifacts\WixToolset.UI.wixext.*.nupkg" 2> nul | 33 | @del "..\..\..\build\artifacts\WixToolset.UI.wixext.*.nupkg" 2> nul |
| 34 | @del "%_L%\ext_ui_build.binlog" 2> nul | ||
| 32 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.ui.wixext" 2> nul | 35 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.ui.wixext" 2> nul |
| 33 | @exit /b | 36 | @exit /b |
| 34 | 37 | ||
