diff options
Diffstat (limited to '')
-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 | ||