diff options
Diffstat (limited to 'src/internal/internal.cmd')
| -rw-r--r-- | src/internal/internal.cmd | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/internal/internal.cmd b/src/internal/internal.cmd new file mode 100644 index 00000000..bd0e4738 --- /dev/null +++ b/src/internal/internal.cmd | |||
| @@ -0,0 +1,23 @@ | |||
| 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 internal %_C% | ||
| 10 | |||
| 11 | :: internal | ||
| 12 | |||
| 13 | nuget restore || exit /b | ||
| 14 | |||
| 15 | :: dotnet pack -c %_C% WixBuildTools.MsgGen\WixBuildTools.MsgGen.csproj || exit /b | ||
| 16 | :: dotnet pack -c %_C% WixBuildTools.XsdGen\WixBuildTools.XsdGen.csproj || exit /b | ||
| 17 | |||
| 18 | msbuild -t:Pack -p:Configuration=%_C% WixBuildTools.TestSupport\WixBuildTools.TestSupport.csproj || exit /b | ||
| 19 | |||
| 20 | msbuild -t:Build -p:Configuration=%_C% WixBuildTools.TestSupport.Native\WixBuildTools.TestSupport.Native.vcxproj || exit /b | ||
| 21 | |||
| 22 | @popd | ||
| 23 | @endlocal | ||
