diff options
Diffstat (limited to 'src/ext/Bal/bal.cmd')
-rw-r--r-- | src/ext/Bal/bal.cmd | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ext/Bal/bal.cmd b/src/ext/Bal/bal.cmd index 23a53a91..7a48f6fc 100644 --- a/src/ext/Bal/bal.cmd +++ b/src/ext/Bal/bal.cmd | |||
@@ -17,31 +17,34 @@ | |||
17 | @if "%_INC%"=="" call :clean | 17 | @if "%_INC%"=="" call :clean |
18 | @if NOT "%_CLEAN%"=="" goto :end | 18 | @if NOT "%_CLEAN%"=="" goto :end |
19 | 19 | ||
20 | @echo Building ext\Bal %_C% using %_N% | 20 | @echo Building ext\BootstrapperApplications %_C% using %_N% |
21 | 21 | ||
22 | :: Restore | 22 | :: Restore |
23 | 23 | ||
24 | :: Build | 24 | :: Build |
25 | msbuild -Restore -p:Configuration=%_C% -tl -nologo -m -warnaserror test\WixToolsetTest.Bal\WixToolsetTest.Bal.csproj -bl:%_L%\ext_bal_build.binlog || exit /b | 25 | msbuild -Restore -p:Configuration=%_C% -tl -nologo -m -warnaserror test\WixToolsetTest.BootstrapperApplications\WixToolsetTest.BootstrapperApplications.csproj -bl:%_L%\ext_bal_build.binlog || exit /b |
26 | 26 | ||
27 | msbuild -Restore -p:Configuration=%_C% -tl -nologo -m -warnaserror test\examples\examples.proj -bl:%_L%\bal_examples_build.binlog || exit /b | 27 | msbuild -Restore -p:Configuration=%_C% -tl -nologo -m -warnaserror test\examples\examples.proj -bl:%_L%\bal_examples_build.binlog || exit /b |
28 | 28 | ||
29 | :: Test | 29 | :: Test |
30 | dotnet test ^ | 30 | dotnet test ^ |
31 | %_B%\net6.0\WixToolsetTest.Bal.dll ^ | 31 | %_B%\net6.0\WixToolsetTest.BootstrapperApplications.dll ^ |
32 | --nologo -l "trx;LogFileName=%_L%\TestResults\bal.wixext.trx" || exit /b | 32 | --nologo -l "trx;LogFileName=%_L%\TestResults\bal.wixext.trx" || exit /b |
33 | 33 | ||
34 | :: Pack | 34 | :: Pack |
35 | msbuild -t:Pack -p:Configuration=%_C% -tl -nologo -warnaserror -p:NoBuild=true wixext\WixToolset.Bal.wixext.csproj || exit /b | 35 | msbuild -t:Pack -p:Configuration=%_C% -tl -nologo -warnaserror -p:NoBuild=true wixext\WixToolset.BootstrapperApplications.wixext.csproj || exit /b |
36 | msbuild -t:Pack -Restore -p:Configuration=%_C% -tl -nologo -warnaserror wixext-backward-compatible\WixToolset.Bal.wixext.csproj || exit /b | ||
36 | 37 | ||
37 | @goto :end | 38 | @goto :end |
38 | 39 | ||
39 | :clean | 40 | :clean |
40 | @rd /s/q "..\..\..\build\Bal.wixext" 2> nul | 41 | @rd /s/q "..\..\..\build\Bal.wixext" 2> nul |
41 | @del "..\..\..\build\artifacts\WixToolset.Bal.wixext.*.nupkg" 2> nul | 42 | @del "..\..\..\build\artifacts\WixToolset.Bal.wixext.*.nupkg" 2> nul |
43 | @del "..\..\..\build\artifacts\WixToolset.BootstrapperApplications.wixext.*.nupkg" 2> nul | ||
42 | @del "%_L%\ext_bal_build.binlog" 2> nul | 44 | @del "%_L%\ext_bal_build.binlog" 2> nul |
43 | @del "%_L%\TestResults\bal.wixext.trx" 2> nul | 45 | @del "%_L%\TestResults\bal.wixext.trx" 2> nul |
44 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.bal.wixext" 2> nul | 46 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.bal.wixext" 2> nul |
47 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.bootstrapperapplications.wixext" 2> nul | ||
45 | @exit /b | 48 | @exit /b |
46 | 49 | ||
47 | :end | 50 | :end |