Adding "/m" switch to MSBuild in ClickToBuild.cmd and Deploy.cmd. Fixes #6936.

It allows running independent project builds in parallel by using more than one cores.

Signed-off-by: Benedek Farkas <benedek.farkas@lombiq.com>
This commit is contained in:
Lombiq
2016-06-04 16:46:30 +02:00
committed by Benedek Farkas
parent fbe5945ea6
commit 50c8a2631d
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ call :ExecuteCmd nuget restore "%DEPLOYMENT_SOURCE%\src\Orchard.sln"
IF !ERRORLEVEL! NEQ 0 goto error
:: 2. Build to the temporary path
call :ExecuteCmd "%MSBUILD_PATH%" "%DEPLOYMENT_SOURCE%\Orchard.proj" /t:Precompiled /v:m
call :ExecuteCmd "%MSBUILD_PATH%" "%DEPLOYMENT_SOURCE%\Orchard.proj" /t:Precompiled /v:m /m
IF !ERRORLEVEL! NEQ 0 goto error
:: 3. KuduSync