Skip to content

Conversation

@danbev
Copy link
Contributor

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

$ make lint-md-buildif [ ! -d tools/remark-cli/node_modules ]; then \cd tools/remark-cli && ../.././node ../.././deps/npm/bin/npm-cli.jsinstall; fiif [ ! -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-botnodejs-github-bot added the build Issues and PRs related to build files or the CI. label Oct 26, 2017
@Florian-RFlorian-R mentioned this pull request Oct 27, 2017
1 task
@gibfahn
Copy link
Member

@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
ContributorAuthor

Closing in favour of #16551

@danbevdanbev closed this Oct 30, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buildIssues and PRs related to build files or the CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@danbev@gibfahn@bengl@jasnell@lpinca@cjihrig@nodejs-github-bot