Skip to content

Commit

Permalink
build: silence cpp lint by default
Browse files Browse the repository at this point in the history
The cpp linter is very noisy at the moment. So use the --quiet flag
by default instead of being verbose in this case.
  • Loading branch information
BridgeAR committed Feb 22, 2019
1 parent e51da1f commit 78e4a79
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1266,11 +1266,8 @@ else
@echo "To install (requires internet access) run: $ make format-cpp-build"
endif

ifeq ($(V),1)
CPPLINT_QUIET =
else
CPPLINT_QUIET = --quiet
endif
CPPLINT_QUIET = --quiet

.PHONY: lint-cpp
# Lints the C++ code with cpplint.py and check-imports.py.
lint-cpp: tools/.cpplintstamp
Expand Down

0 comments on commit 78e4a79

Please sign in to comment.