diff options
author | Bob Arnson <bob@firegiant.com> | 2021-07-12 12:20:55 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2021-07-12 12:20:55 -0400 |
commit | b452e816019d35aba71693bfc8826a8a52df457c (patch) | |
tree | 3f2ed5467ef28efcc256bfe944f0bc01f6ce904b /src/api/api.cmd | |
parent | 250b850f52253a101ddc4857cb6a2e66b0b37739 (diff) | |
download | wix-b452e816019d35aba71693bfc8826a8a52df457c.tar.gz wix-b452e816019d35aba71693bfc8826a8a52df457c.tar.bz2 wix-b452e816019d35aba71693bfc8826a8a52df457c.zip |
Revert "Build api segment via traversal projects."
This reverts commit 250b850f52253a101ddc4857cb6a2e66b0b37739.
Diffstat (limited to 'src/api/api.cmd')
-rw-r--r-- | src/api/api.cmd | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/src/api/api.cmd b/src/api/api.cmd index 75303ea2..db8d5183 100644 --- a/src/api/api.cmd +++ b/src/api/api.cmd | |||
@@ -8,15 +8,36 @@ | |||
8 | 8 | ||
9 | @echo Building api %_C% | 9 | @echo Building api %_C% |
10 | 10 | ||
11 | :: restore | 11 | :: burn |
12 | :: build | 12 | |
13 | :: pack | 13 | nuget restore burn\api_burn.sln || exit /b |
14 | msbuild -m -p:Configuration=%_C% api.proj || exit /b | 14 | |
15 | msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v142 burn\api_burn.sln || exit /b | ||
16 | msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v142 burn\api_burn.sln || exit /b | ||
17 | msbuild -p:Configuration=%_C%;Platform=ARM64;PlatformToolset=v142 burn\api_burn.sln || exit /b | ||
18 | |||
19 | msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v141 burn\api_burn.sln || exit /b | ||
20 | msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v141 burn\api_burn.sln || exit /b | ||
21 | msbuild -p:Configuration=%_C%;Platform=ARM64;PlatformToolset=v141 burn\api_burn.sln || exit /b | ||
22 | |||
23 | msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v140 burn\api_burn.sln || exit /b | ||
24 | msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v140 burn\api_burn.sln || exit /b | ||
15 | 25 | ||
16 | :: test | ||
17 | dotnet test -c %_C% --no-build burn\test\WixToolsetTest.Mba.Core\WixToolsetTest.Mba.Core.csproj || exit /b | 26 | dotnet test -c %_C% --no-build burn\test\WixToolsetTest.Mba.Core\WixToolsetTest.Mba.Core.csproj || exit /b |
27 | |||
28 | msbuild -t:PackNative -p:Configuration=%_C% burn\balutil\balutil.vcxproj || exit /b | ||
29 | msbuild -t:PackNative -p:Configuration=%_C% burn\bextutil\bextutil.vcxproj || exit /b | ||
30 | msbuild -t:PackNative -Restore -p:Configuration=%_C% burn\WixToolset.BootstrapperCore.Native\WixToolset.BootstrapperCore.Native.proj || exit /b | ||
31 | msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true burn\WixToolset.Mba.Core\WixToolset.Mba.Core.csproj || exit /b | ||
32 | |||
33 | |||
34 | :: wix | ||
35 | |||
36 | msbuild -Restore -p:Configuration=%_C% wix\api_wix.sln || exit /b | ||
37 | |||
18 | dotnet test -c %_C% --no-build wix\api_wix.sln || exit /b | 38 | dotnet test -c %_C% --no-build wix\api_wix.sln || exit /b |
19 | 39 | ||
40 | msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wix\api_wix.sln || exit /b | ||
20 | 41 | ||
21 | @popd | 42 | @popd |
22 | @endlocal | 43 | @endlocal |