| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 56f73a1 commit 041c779
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -497,11 +497,11 @@ for /d %%F in (test\addons-napi\??_*) do ( | |||
| 497 | 497 | rd /s /q %%F | |
| 498 | 498 | ) | |
| 499 | 499 | :: building addons-napi | |
| 500 | - for /d %%F in (test\addons-napi\*) do ( | ||
| 501 | - %node_gyp_exe% rebuild ^ | ||
| 502 | - --directory="%%F" ^ | ||
| 503 | - --nodedir="%cd%" | ||
| 504 | - ) | ||
| 500 | + setlocal | ||
| 501 | + set npm_config_nodedir=%~dp0 | ||
| 502 | + "%node_exe%" "%~dp0tools\build-addons.js" "%~dp0deps\npm\node_modules\node-gyp\bin\node-gyp.js" "%~dp0test\addons-napi" | ||
| 503 | + if errorlevel 1 exit /b 1 | ||
| 504 | + endlocal | ||
| 505 | 505 | endlocal | |
| 506 | 506 | goto run-tests | |
| 507 | 507 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments