Skip to content

Commit

Permalink
Adding "/m" switch to MSBuild in ClickToBuild.cmd and Deploy.cmd. Fixes
Browse files Browse the repository at this point in the history
#6936.

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

Signed-off-by: Benedek Farkas <[email protected]>
  • Loading branch information
LombiqTechnologies authored and BenedekFarkas committed Jun 5, 2016
1 parent fbe5945 commit 50c8a26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ClickToBuild.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ IF "%solution%" == "" SET solution=src\Orchard.sln

lib\nuget\nuget.exe restore %solution%

msbuild /t:%target% %project% /p:Solution=%solution%
msbuild /t:%target% %project% /p:Solution=%solution% /m

pause
2 changes: 1 addition & 1 deletion deploy.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50c8a26

Please sign in to comment.