Skip to content
Permalink
Browse files
build: add LINT_CPP_FILES to checkimports check
This commit adds the prerequisites which contains all the files to lint.
Currently the only the files in 'src' will be checked.

PR-URL: #33697
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
danbev authored and codebytere committed Jul 10, 2020
1 parent 4b4fb13 commit d56585ec8d1db2d31843b11af53aa42e35fc02d0
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
@@ -1328,7 +1328,7 @@ lint-cpp: tools/.cpplintstamp
tools/.cpplintstamp: $(LINT_CPP_FILES)
@echo "Running C++ linter..."
@$(PYTHON) tools/cpplint.py $(CPPLINT_QUIET) $?
@$(PYTHON) tools/checkimports.py
@$(PYTHON) tools/checkimports.py $?
@touch $@

.PHONY: lint-addon-docs

0 comments on commit d56585e

Please sign in to comment.