Skip to content

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