mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
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:
parent
fbe5945ea6
commit
50c8a2631d
@ -31,6 +31,6 @@ IF "%solution%" == "" SET solution=src\Orchard.sln
|
|||||||
|
|
||||||
lib\nuget\nuget.exe restore %solution%
|
lib\nuget\nuget.exe restore %solution%
|
||||||
|
|
||||||
msbuild /t:%target% %project% /p:Solution=%solution%
|
msbuild /t:%target% %project% /p:Solution=%solution% /m
|
||||||
|
|
||||||
pause
|
pause
|
@ -72,7 +72,7 @@ call :ExecuteCmd nuget restore "%DEPLOYMENT_SOURCE%\src\Orchard.sln"
|
|||||||
IF !ERRORLEVEL! NEQ 0 goto error
|
IF !ERRORLEVEL! NEQ 0 goto error
|
||||||
|
|
||||||
:: 2. Build to the temporary path
|
:: 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
|
IF !ERRORLEVEL! NEQ 0 goto error
|
||||||
|
|
||||||
:: 3. KuduSync
|
:: 3. KuduSync
|
||||||
|
Loading…
Reference in New Issue
Block a user