aboutsummaryrefslogtreecommitdiff
path: root/src/api/api.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/api.cmd')
-rw-r--r--src/api/api.cmd31
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 13nuget restore burn\api_burn.sln || exit /b
14msbuild -m -p:Configuration=%_C% api.proj || exit /b 14
15msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v142 burn\api_burn.sln || exit /b
16msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v142 burn\api_burn.sln || exit /b
17msbuild -p:Configuration=%_C%;Platform=ARM64;PlatformToolset=v142 burn\api_burn.sln || exit /b
18
19msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v141 burn\api_burn.sln || exit /b
20msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v141 burn\api_burn.sln || exit /b
21msbuild -p:Configuration=%_C%;Platform=ARM64;PlatformToolset=v141 burn\api_burn.sln || exit /b
22
23msbuild -p:Configuration=%_C%;Platform=x86;PlatformToolset=v140 burn\api_burn.sln || exit /b
24msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v140 burn\api_burn.sln || exit /b
15 25
16:: test
17dotnet test -c %_C% --no-build burn\test\WixToolsetTest.Mba.Core\WixToolsetTest.Mba.Core.csproj || exit /b 26dotnet test -c %_C% --no-build burn\test\WixToolsetTest.Mba.Core\WixToolsetTest.Mba.Core.csproj || exit /b
27
28msbuild -t:PackNative -p:Configuration=%_C% burn\balutil\balutil.vcxproj || exit /b
29msbuild -t:PackNative -p:Configuration=%_C% burn\bextutil\bextutil.vcxproj || exit /b
30msbuild -t:PackNative -Restore -p:Configuration=%_C% burn\WixToolset.BootstrapperCore.Native\WixToolset.BootstrapperCore.Native.proj || exit /b
31msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true burn\WixToolset.Mba.Core\WixToolset.Mba.Core.csproj || exit /b
32
33
34:: wix
35
36msbuild -Restore -p:Configuration=%_C% wix\api_wix.sln || exit /b
37
18dotnet test -c %_C% --no-build wix\api_wix.sln || exit /b 38dotnet test -c %_C% --no-build wix\api_wix.sln || exit /b
19 39
40msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wix\api_wix.sln || exit /b
20 41
21@popd 42@popd
22@endlocal 43@endlocal