summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGibson Fahnestock <gibfahn@gmail.com>2017-10-27 14:15:01 +0100
committerGibson Fahnestock <gibfahn@gmail.com>2017-11-02 22:28:30 +0000
commit60d055e22444eb1cfcfc9dbf9a52fcd1b8ca002c (patch)
treecd0a0552889d3f80e8b974a982b6a69de25062e1 /Makefile
parent3a977fc8c0d13f796c65e05e31bb548217fbc37b (diff)
downloadandroid-node-v8-60d055e22444eb1cfcfc9dbf9a52fcd1b8ca002c.tar.gz
android-node-v8-60d055e22444eb1cfcfc9dbf9a52fcd1b8ca002c.tar.bz2
android-node-v8-60d055e22444eb1cfcfc9dbf9a52fcd1b8ca002c.zip
build: suppress lint-md output
We don't need to print out the output if we've already installed it, at the same time we do want to see some output when we haven't installed. PR-URL: https://github.com/nodejs/node/pull/16551 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c2f872daed..bc337ab96d 100644
--- a/Makefile
+++ b/Makefile
@@ -976,9 +976,11 @@ lint-md-clean:
$(RM) -r tools/remark-preset-lint-node/node_modules
lint-md-build:
- if [ ! -d tools/remark-cli/node_modules ]; then \
+ @if [ ! -d tools/remark-cli/node_modules ]; then \
+ echo "Markdown linter: installing remark-cli into tools/"; \
cd tools/remark-cli && ../../$(NODE) ../../$(NPM) install; fi
- if [ ! -d tools/remark-preset-lint-node/node_modules ]; then \
+ @if [ ! -d tools/remark-preset-lint-node/node_modules ]; then \
+ echo "Markdown linter: installing remark-preset-lint-node into tools/"; \
cd tools/remark-preset-lint-node && ../../$(NODE) ../../$(NPM) install; fi
lint-md: lint-md-build