Skip to content

Commit 3241799

Browse files
gibfahncjihrig
authored andcommitted
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: #16551 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]>
1 parent 0b337cb commit 3241799

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -976,9 +976,11 @@ lint-md-clean:
976976
$(RM) -r tools/remark-preset-lint-node/node_modules
977977

978978
lint-md-build:
979-
if [ ! -d tools/remark-cli/node_modules ]; then \
979+
@if [ ! -d tools/remark-cli/node_modules ]; then \
980+
echo "Markdown linter: installing remark-cli into tools/"; \
980981
cd tools/remark-cli && ../../$(NODE) ../../$(NPM) install; fi
981-
if [ ! -d tools/remark-preset-lint-node/node_modules ]; then \
982+
@if [ ! -d tools/remark-preset-lint-node/node_modules ]; then \
983+
echo "Markdown linter: installing remark-preset-lint-node into tools/"; \
982984
cd tools/remark-preset-lint-node && ../../$(NODE) ../../$(NPM) install; fi
983985

984986
lint-md: lint-md-build

0 commit comments

Comments
 (0)