Skip to content

Commit 2b5637e

Browse files
committed
build: make linter targets silent
The linter targets are printing the commands they execute on screen. This patch reduces the noise by not printing the commands.
1 parent c05e5bf commit 2b5637e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,10 +854,12 @@ bench: bench-net bench-http bench-fs bench-tls
854854
bench-ci: bench
855855

856856
jslint:
857+
@echo "Running JS linter..."
857858
$(NODE) tools/eslint/bin/eslint.js --cache --rulesdir=tools/eslint-rules \
858859
benchmark lib test tools
859860

860861
jslint-ci:
862+
@echo "Running JS linter..."
861863
$(NODE) tools/jslint.js $(PARALLEL_ARGS) -f tap -o test-eslint.tap \
862864
benchmark lib test tools
863865

@@ -884,12 +886,13 @@ CPPLINT_FILES = $(filter-out $(CPPLINT_EXCLUDE), $(wildcard \
884886
))
885887

886888
cpplint:
889+
@echo "Running C++ linter..."
887890
@$(PYTHON) tools/cpplint.py $(CPPLINT_FILES)
888891
@$(PYTHON) tools/check-imports.py
889892

890893
ifneq ("","$(wildcard tools/eslint/lib/eslint.js)")
891894
lint:
892-
EXIT_STATUS=0 ; \
895+
@EXIT_STATUS=0 ; \
893896
$(MAKE) jslint || EXIT_STATUS=$$? ; \
894897
$(MAKE) cpplint || EXIT_STATUS=$$? ; \
895898
exit $$EXIT_STATUS

0 commit comments

Comments
 (0)