diff options
Diffstat (limited to 'src/ext/Bal/bal.cmd')
-rw-r--r-- | src/ext/Bal/bal.cmd | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/ext/Bal/bal.cmd b/src/ext/Bal/bal.cmd index 2759d499..23a53a91 100644 --- a/src/ext/Bal/bal.cmd +++ b/src/ext/Bal/bal.cmd | |||
@@ -20,37 +20,28 @@ | |||
20 | @echo Building ext\Bal %_C% using %_N% | 20 | @echo Building ext\Bal %_C% using %_N% |
21 | 21 | ||
22 | :: Restore | 22 | :: Restore |
23 | nuget restore dnchost\packages.config || exit /b | ||
24 | 23 | ||
25 | :: Build | 24 | :: Build |
26 | msbuild -Restore -p:Configuration=%_C% -tl -nologo -warnaserror -bl:%_L%\ext_bal_build.binlog || exit /b | 25 | msbuild -Restore -p:Configuration=%_C% -tl -nologo -m -warnaserror test\WixToolsetTest.Bal\WixToolsetTest.Bal.csproj -bl:%_L%\ext_bal_build.binlog || exit /b |
27 | 26 | ||
28 | msbuild -Restore -p:Configuration=%_C% -tl -nologo -m -warnaserror test\examples\examples.proj -m -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 |
29 | 28 | ||
30 | :: Test | 29 | :: Test |
31 | dotnet test ^ | 30 | dotnet test ^ |
32 | %_B%\net6.0\WixToolsetTest.Dnc.HostGenerator.dll ^ | 31 | %_B%\net6.0\WixToolsetTest.Bal.dll ^ |
33 | %_B%\net6.0\WixToolsetTest.Bal.dll ^ | 32 | --nologo -l "trx;LogFileName=%_L%\TestResults\bal.wixext.trx" || exit /b |
34 | %_B%\net6.0\WixToolsetTest.ManagedHost.dll ^ | ||
35 | --nologo -l "trx;LogFileName=%_L%\TestResults\bal.wixext.trx" || exit /b | ||
36 | 33 | ||
37 | :: Pack | 34 | :: Pack |
38 | 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.Bal.wixext.csproj || exit /b |
39 | msbuild -t:Pack -p:Configuration=%_C% -tl -nologo -warnaserror -p:NoBuild=true WixToolset.Dnc.HostGenerator\WixToolset.Dnc.HostGenerator.csproj || exit /b | ||
40 | msbuild -t:Pack -p:Configuration=%_C% -tl -nologo -warnaserror -p:NoBuild=true WixToolset.Mba.Host\WixToolset.Mba.Host.csproj || exit /b | ||
41 | 36 | ||
42 | @goto :end | 37 | @goto :end |
43 | 38 | ||
44 | :clean | 39 | :clean |
45 | @rd /s/q "..\..\..\build\Bal.wixext" 2> nul | 40 | @rd /s/q "..\..\..\build\Bal.wixext" 2> nul |
46 | @del "..\..\..\build\artifacts\WixToolset.Bal.wixext.*.nupkg" 2> nul | 41 | @del "..\..\..\build\artifacts\WixToolset.Bal.wixext.*.nupkg" 2> nul |
47 | @del "..\..\..\build\artifacts\WixToolset.Dnc.HostGenerator.*.nupkg" 2> nul | ||
48 | @del "..\..\..\build\artifacts\WixToolset.Mba.Host.*.nupkg" 2> nul | ||
49 | @del "%_L%\ext_bal_build.binlog" 2> nul | 42 | @del "%_L%\ext_bal_build.binlog" 2> nul |
50 | @del "%_L%\TestResults\bal.wixext.trx" 2> nul | 43 | @del "%_L%\TestResults\bal.wixext.trx" 2> nul |
51 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.bal.wixext" 2> nul | 44 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.bal.wixext" 2> nul |
52 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.dnc.hostgenerator" 2> nul | ||
53 | @rd /s/q "%USERPROFILE%\.nuget\packages\wixtoolset.mba.host" 2> nul | ||
54 | @exit /b | 45 | @exit /b |
55 | 46 | ||
56 | :end | 47 | :end |