diff options
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 | ||
