diff options
author | Rob Mensching <rob@firegiant.com> | 2021-04-26 11:31:05 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-05-11 11:14:01 -0700 |
commit | df016066100df955d5ff98811e113fb2b1bd4b8a (patch) | |
tree | a27b35a3651ca7b1d8c4bb7c7483ec2f92583e08 /src/burn/burn.cmd | |
parent | dc6022da6cdbb9d7ca54c4a36485ceead07feaaf (diff) | |
download | wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.gz wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.bz2 wix-df016066100df955d5ff98811e113fb2b1bd4b8a.zip |
Implement integrated build process
Diffstat (limited to 'src/burn/burn.cmd')
-rw-r--r-- | src/burn/burn.cmd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/burn/burn.cmd b/src/burn/burn.cmd new file mode 100644 index 00000000..1eb09b99 --- /dev/null +++ b/src/burn/burn.cmd | |||
@@ -0,0 +1,24 @@ | |||
1 | @setlocal | ||
2 | @pushd %~dp0 | ||
3 | |||
4 | @set _C=Debug | ||
5 | :parse_args | ||
6 | @if /i "%1"=="release" set _C=Release& shift | ||
7 | @if not "%1"=="" shift & goto parse_args | ||
8 | |||
9 | @echo Building burn %_C% | ||
10 | |||
11 | :: burn | ||
12 | |||
13 | nuget restore || exit /b | ||
14 | |||
15 | msbuild -t:Test -p:Configuration=%_C% test\BurnUnitTest || exit /b | ||
16 | |||
17 | msbuild -t:Build -p:Configuration=%_C%;Platform=x86 || exit /b | ||
18 | msbuild -t:Build -p:Configuration=%_C%;Platform=x64 || exit /b | ||
19 | msbuild -t:Build -p:Configuration=%_C%;Platform=arm64 || exit /b | ||
20 | |||
21 | msbuild -t:PackNative -p:Configuration=%_C% stub\stub.vcxproj || exit /b | ||
22 | |||
23 | @popd | ||
24 | @endlocal | ||