From 092138ac12a71902cfd0e8beb20dd2eea02032b6 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 2 Jun 2020 13:21:40 +0200 Subject: [PATCH] build: add LINT_CPP_FILES to checkimports check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit adds the prerequisites which contains all the files to lint. Currently the only the files in 'src' will be checked. PR-URL: https://github.com/nodejs/node/pull/33697 Reviewed-By: Richard Lau Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 519e920685177f..7fa645f21dd9c9 100644 --- a/Makefile +++ b/Makefile @@ -1334,7 +1334,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