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

tools: install doc tools only when necessary #22217

Closed
wants to merge 1 commit into from

Conversation

joyeecheung
Copy link
Member

Marking tools/doc/node_modules as PHONY result in constant
installation of the doctools whether it's changed or not
(which means make lint-addon-docs always install the tools).
Unmark it and fix the dependency to avoid unnecessary
installations if the package.json is not changed.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Marking tools/doc/node_modules as PHONY result in constant
installation of the doctools whether it's changed or not
(which means `make lint-addon-docs` always install the tools).
Unmark it and fix the dependency to avoid unnecessary
installations if the package.json is not changed.
@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Aug 9, 2018
@danbev
Copy link
Contributor

danbev commented Aug 9, 2018

@joyeecheung I think this might be a duplicate of #22189?

@joyeecheung
Copy link
Member Author

@danbev Ah, sorry, didn't notice that one. I'll close this, thanks for the reminder!

@joyeecheung joyeecheung closed this Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants