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/ext/ComPlus/complus.cmd | |
| parent | dc6022da6cdbb9d7ca54c4a36485ceead07feaaf (diff) | |
| download | wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.gz wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.bz2 wix-df016066100df955d5ff98811e113fb2b1bd4b8a.zip | |
Implement integrated build process
Diffstat (limited to 'src/ext/ComPlus/complus.cmd')
| -rw-r--r-- | src/ext/ComPlus/complus.cmd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ext/ComPlus/complus.cmd b/src/ext/ComPlus/complus.cmd new file mode 100644 index 00000000..bea27765 --- /dev/null +++ b/src/ext/ComPlus/complus.cmd | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | @setlocal | ||
| 2 | @pushd %~dp0 | ||
| 3 | @set _C=Release | ||
| 4 | @if /i "%1"=="debug" set _C=Debug | ||
| 5 | |||
| 6 | :: Restore | ||
| 7 | msbuild -p:Configuration=%_C% -t:Restore || exit /b | ||
| 8 | |||
| 9 | :: Build | ||
| 10 | ::msbuild -p:Configuration=%_C% -p:Platform=Win32 ca\complusca.vcxproj || exit /b | ||
| 11 | ::msbuild -p:Configuration=%_C% -p:Platform=x64 ca\complusca.vcxproj || exit /b | ||
| 12 | |||
| 13 | msbuild -p:Configuration=%_C% test\WixToolsetTest.ComPlus\WixToolsetTest.ComPlus.csproj || exit /b | ||
| 14 | |||
| 15 | :: Test | ||
| 16 | dotnet test -c %_C% --no-build test\WixToolsetTest.ComPlus || exit /b | ||
| 17 | |||
| 18 | :: Pack | ||
| 19 | msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack wixext\WixToolset.ComPlus.wixext.csproj || exit /b | ||
| 20 | |||
| 21 | @popd | ||
| 22 | @endlocal \ No newline at end of file | ||
