Skip to content

Commit

Permalink
win,build: build N-API addons in parallel
Browse files Browse the repository at this point in the history
Ref: #21403

PR-URL: #22582
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
bzoz authored and targos committed Sep 3, 2018
1 parent 56f73a1 commit 041c779
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -497,11 +497,11 @@ for /d %%F in (test\addons-napi\??_*) do (
rd /s /q %%F
)
:: building addons-napi
for /d %%F in (test\addons-napi\*) do (
%node_gyp_exe% rebuild ^
--directory="%%F" ^
--nodedir="%cd%"
)
setlocal
set npm_config_nodedir=%~dp0
"%node_exe%" "%~dp0tools\build-addons.js" "%~dp0deps\npm\node_modules\node-gyp\bin\node-gyp.js" "%~dp0test\addons-napi"
if errorlevel 1 exit /b 1
endlocal
endlocal
goto run-tests

Expand Down

0 comments on commit 041c779

Please sign in to comment.