Skip to content

Commit

Permalink
win, build: fix building addons on Windows
Browse files Browse the repository at this point in the history
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: #25096

PR-URL: #25108
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
bzoz authored and BethGriggs committed May 10, 2019
1 parent 0c5972f commit 979a397
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 979a397

Please sign in to comment.