Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: create separate rebuild-doc-addons target #328

Closed
wants to merge 1 commit into from
Closed

build: create separate rebuild-doc-addons target #328

wants to merge 1 commit into from

Conversation

chrisdickinson
Copy link
Contributor

this allows the build-addons target to "see" the
directories that verify-addons.js is creating, which
prevents errors in downstream targets on clean test runs.


NB: I am not a wizard with make -- if you see something wrong here, I'm probably totally wrong!

this allows the build-addons target to "see" the
directories that verify-addons.js is creating, which
prevents errors in downstream targets on clean test runs.
@@ -108,9 +108,11 @@ test/gc/node_modules/weak/build/Release/weakref.node: $(NODE_EXE)
--directory="$(shell pwd)/test/gc/node_modules/weak" \
--nodedir="$(shell pwd)"

build-addons: $(NODE_EXE)
rebuild-doc-addons: $(NODE_EXE)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, build-addons would take dependencies on the gyp and .cc files so that it only runs when something has changed.

@bnoordhuis
Copy link
Member

@chrisdickinson My counter-proposal: #/335 :-)

@chrisdickinson
Copy link
Contributor Author

Closing this in favor of #335.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants