Skip to content

build: make lint-md-build quiet #16508

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

Closed
wants to merge 1 commit into from

Conversation

danbev
Copy link
Contributor

@danbev danbev commented Oct 26, 2017

Currently the lint-md-build target produces the following output:

$ make lint-md-build
if [ ! -d tools/remark-cli/node_modules ]; then \
cd tools/remark-cli && ../.././node ../.././deps/npm/bin/npm-cli.js
install; fi
if [ ! -d tools/remark-preset-lint-node/node_modules ]; then \
cd tools/remark-preset-lint-node && ../.././node
../.././deps/npm/bin/npm-cli.js install; fi

This commit suppresses the echoing.

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

build

Currently the lint-md-build target produces the following output:

$ make lint-md-build
if [ ! -d tools/remark-cli/node_modules ]; then \
cd tools/remark-cli && ../.././node ../.././deps/npm/bin/npm-cli.js
install; fi
if [ ! -d tools/remark-preset-lint-node/node_modules ]; then \
cd tools/remark-preset-lint-node && ../.././node
../.././deps/npm/bin/npm-cli.js install; fi

This commit suppresses the echoing.
@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Oct 26, 2017
@Florian-R Florian-R mentioned this pull request Oct 27, 2017
1 task
@gibfahn
Copy link
Member

gibfahn commented Oct 27, 2017

@danbev see #16551 (comment), I'd rather that code land, but that should really have been a review here.

if [ ! -d tools/remark-preset-lint-node/node_modules ]; then \
cd tools/remark-preset-lint-node && ../../$(NODE) ../../$(NPM) install; fi
@if [ ! -d tools/remark-cli/node_modules ]; then \
@cd tools/remark-cli && ../../$(NODE) ../../$(NPM) install; fi
Copy link
Member

Choose a reason for hiding this comment

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

I'd rather not have the @ on this line.

Also an echo to tell people why npm modules are randomly being installed would be useful (see #16551)

@danbev
Copy link
Contributor Author

danbev commented Oct 30, 2017

Closing in favour of #16551

@danbev danbev closed this Oct 30, 2017
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.

7 participants