Skip to content

Commit f23139f

Browse files
bzozrefack
authored andcommitted
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: nodejs#25096 PR-URL: nodejs#25108 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 2df4478 commit f23139f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vcbuild.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,8 @@ if errorlevel 1 goto exit
446446

447447

448448
:install-doctools
449-
REM only install if building doc OR testing doctool
450-
if not defined doc (
449+
REM only install if building doc OR testing doctool OR building addons
450+
if not defined doc if not defined build_addons (
451451
echo.%test_args% | findstr doctool 1>nul
452452
if errorlevel 1 goto :skip-install-doctools
453453
)

0 commit comments

Comments
 (0)