mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
win, build: fix building addons on Windows
Building addons would fail because addon-verify.js dependencies from tools\doc where not installed. This fixes this issue by installing those dependencies if addons are to be built. Fixes: https://github.com/nodejs/node/issues/25096 PR-URL: https://github.com/nodejs/node/pull/25108 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
1 parent
9eb677b21f
commit
91c4d280f4
1 file changed
+2
-2
+2
-2
@@ -449,8 +449,8 @@ if errorlevel 1 goto exit
|
||||
|
||||
|
||||
:install-doctools
|
||||
REM only install if building doc OR testing doctool
|
||||
if not defined doc (
|
||||
REM only install if building doc OR testing doctool OR building addons
|
||||
if not defined doc if not defined build_addons (
|
||||
echo.%test_args% | findstr doctool 1>nul
|
||||
if errorlevel 1 goto :skip-install-doctools
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user