aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Bal/bal.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Bal/bal.cmd')
-rw-r--r--src/ext/Bal/bal.cmd17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/ext/Bal/bal.cmd b/src/ext/Bal/bal.cmd
index 7a48f6fc..df9ceca4 100644
--- a/src/ext/Bal/bal.cmd
+++ b/src/ext/Bal/bal.cmd
@@ -17,34 +17,37 @@
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\BootstrapperApplications %_C% using %_N% 20@echo Building ext\Bal %_C% using %_N%
21 21
22:: Restore 22:: Restore
23
24:: Build 23:: Build
24:: Pack
25:: Note: This test project must be restored and built directly to get all its support files laid out correctly.
26:: Everything else is built by the traversal project.
25msbuild -Restore -p:Configuration=%_C% -tl -nologo -m -warnaserror test\WixToolsetTest.BootstrapperApplications\WixToolsetTest.BootstrapperApplications.csproj -bl:%_L%\ext_bal_build.binlog || exit /b 27msbuild -Restore -p:Configuration=%_C% -tl -nologo -m -warnaserror test\WixToolsetTest.BootstrapperApplications\WixToolsetTest.BootstrapperApplications.csproj -bl:%_L%\ext_bal_build.binlog || exit /b
26 28
27msbuild -Restore -p:Configuration=%_C% -tl -nologo -m -warnaserror test\examples\examples.proj -bl:%_L%\bal_examples_build.binlog || exit /b 29msbuild bal_t.proj -p:Configuration=%_C% -tl -nologo -warnaserror -bl:%_L%\bal_build.binlog || exit /b
28 30
29:: Test 31:: Test
30dotnet test ^ 32dotnet test ^
33 %_B%\x86\WixStdFnUnitTest.dll ^
31 %_B%\net6.0\WixToolsetTest.BootstrapperApplications.dll ^ 34 %_B%\net6.0\WixToolsetTest.BootstrapperApplications.dll ^
32 --nologo -l "trx;LogFileName=%_L%\TestResults\bal.wixext.trx" || exit /b 35 --nologo -l "trx;LogFileName=%_L%\TestResults\bal.wixext.trx" || exit /b
33 36
34:: Pack
35msbuild -t:Pack -p:Configuration=%_C% -tl -nologo -warnaserror -p:NoBuild=true wixext\WixToolset.BootstrapperApplications.wixext.csproj || exit /b
36msbuild -t:Pack -Restore -p:Configuration=%_C% -tl -nologo -warnaserror wixext-backward-compatible\WixToolset.Bal.wixext.csproj || exit /b
37
38@goto :end 37@goto :end
39 38
40:clean 39:clean
41@rd /s/q "..\..\..\build\Bal.wixext" 2> nul 40@rd /s/q "..\..\..\build\Bal.wixext" 2> nul
42@del "..\..\..\build\artifacts\WixToolset.Bal.wixext.*.nupkg" 2> nul 41@del "..\..\..\build\artifacts\WixToolset.Bal.wixext.*.nupkg" 2> nul
43@del "..\..\..\build\artifacts\WixToolset.BootstrapperApplications.wixext.*.nupkg" 2> nul 42@del "..\..\..\build\artifacts\WixToolset.BootstrapperApplications.wixext.*.nupkg" 2> nul
43@del "..\..\..\build\artifacts\WixToolset.WixStandardBootstrapperApplicationFunctionApi.*.nupkg" 2> nul
44@del "%_L%\ext_bal_build.binlog" 2> nul 44@del "%_L%\ext_bal_build.binlog" 2> nul
45@del "%_L%\bal_fnsapi_build.binlog" 2> nul
46@del "%_L%\bal_examples_build.binlog" 2> nul
45@del "%_L%\TestResults\bal.wixext.trx" 2> nul 47@del "%_L%\TestResults\bal.wixext.trx" 2> nul
46@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.bal.wixext" 2> nul 48@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.bal.wixext" 2> nul
47@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.bootstrapperapplications.wixext" 2> nul 49@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.bootstrapperapplications.wixext" 2> nul
50@rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.wixstandardbootstrapperapplicationfunctionapi" 2> nul
48@exit /b 51@exit /b
49 52
50:end 53:end