mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
build: ignore empty folders in test-addons
Fixes: https://github.com/nodejs/node/issues/14843 PR-URL: https://github.com/nodejs/node/pull/16031 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
5c8cd0ef3e
commit
f5c0d74eda
1 file changed
+3
@@ -267,7 +267,10 @@ test/addons/.buildstamp: config.gypi \
|
||||
test/addons/.docbuildstamp
|
||||
# Cannot use $(wildcard test/addons/*/) here, it's evaluated before
|
||||
# embedded addons have been generated from the documentation.
|
||||
# Ignore folders without binding.gyp (#14843)
|
||||
@for dirname in test/addons/*/; do \
|
||||
if [ ! -f "$$PWD/$${dirname}binding.gyp" ]; then \
|
||||
continue; fi ; \
|
||||
printf "\nBuilding addon $$PWD/$$dirname\n" ; \
|
||||
env MAKEFLAGS="-j1" $(NODE) deps/npm/node_modules/node-gyp/bin/node-gyp \
|
||||
--loglevel=$(LOGLEVEL) rebuild \
|
||||
|
||||
Reference in new issue
Block a user