diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-04-19 17:15:05 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-04-19 18:35:15 -0500 |
commit | 57fd164d56466a52854e825afd5fdc2b6b97f12a (patch) | |
tree | 7d4ace6d7a55c2a50302e3b6866456026a2c6222 /src/ext/Bal/bal.cmd | |
parent | 6435d26c7e2ce54ec38d0cc9eb4d2cb10e9614e0 (diff) | |
download | wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.tar.gz wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.tar.bz2 wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.zip |
Replace Dnc.Host with Dnc.HostGenerator to support linker trimming.
Diffstat (limited to 'src/ext/Bal/bal.cmd')
-rw-r--r-- | src/ext/Bal/bal.cmd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ext/Bal/bal.cmd b/src/ext/Bal/bal.cmd index f8894f76..75f3502b 100644 --- a/src/ext/Bal/bal.cmd +++ b/src/ext/Bal/bal.cmd | |||
@@ -2,11 +2,12 @@ | |||
2 | @pushd %~dp0 | 2 | @pushd %~dp0 |
3 | 3 | ||
4 | @set _C=Debug | 4 | @set _C=Debug |
5 | @set _L=%~dp0..\..\..\build\logs | ||
5 | :parse_args | 6 | :parse_args |
6 | @if /i "%1"=="release" set _C=Release | 7 | @if /i "%1"=="release" set _C=Release |
7 | @if not "%1"=="" shift & goto parse_args | 8 | @if not "%1"=="" shift & goto parse_args |
8 | 9 | ||
9 | @echo Building ext\Util %_C% using %_N% | 10 | @echo Building ext\Bal %_C% using %_N% |
10 | 11 | ||
11 | :: Restore | 12 | :: Restore |
12 | nuget restore dnchost\packages.config || exit /b | 13 | nuget restore dnchost\packages.config || exit /b |
@@ -22,6 +23,9 @@ msbuild -p:Configuration=%_C%;Platform=x64 mbahost\mbahost.vcxproj || exit /b | |||
22 | msbuild -p:Configuration=%_C%;Platform=ARM64 mbahost\mbahost.vcxproj || exit /b | 23 | msbuild -p:Configuration=%_C%;Platform=ARM64 mbahost\mbahost.vcxproj || exit /b |
23 | 24 | ||
24 | msbuild -p:Configuration=%_C% || exit /b | 25 | msbuild -p:Configuration=%_C% || exit /b |
26 | |||
27 | dotnet test test\WixToolsetTest.Dnc.HostGenerator -c %_C% --nologo --no-build -l "trx;LogFileName=%_L%\TestResults\WixToolsetTest.Dnc.HostGenerator.trx" || exit /b | ||
28 | |||
25 | msbuild -p:Configuration=%_C% test\examples\examples.proj || exit /b | 29 | msbuild -p:Configuration=%_C% test\examples\examples.proj || exit /b |
26 | 30 | ||
27 | :: Test | 31 | :: Test |
@@ -31,6 +35,7 @@ dotnet test -c %_C% --no-build test\WixToolsetTest.Bal || exit /b | |||
31 | 35 | ||
32 | :: Pack | 36 | :: Pack |
33 | msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wixext\WixToolset.Bal.wixext.csproj || exit /b | 37 | msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wixext\WixToolset.Bal.wixext.csproj || exit /b |
38 | msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true WixToolset.Dnc.HostGenerator\WixToolset.Dnc.HostGenerator.csproj || exit /b | ||
34 | msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true WixToolset.Mba.Host\WixToolset.Mba.Host.csproj || exit /b | 39 | msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true WixToolset.Mba.Host\WixToolset.Mba.Host.csproj || exit /b |
35 | 40 | ||
36 | @popd | 41 | @popd |