From f635389b33bcaa67d137ba369f5d752804a00c9c Mon Sep 17 00:00:00 2001 From: Michael Richters Date: Tue, 5 Apr 2022 23:58:43 -0500 Subject: [PATCH] Add `check-includes` makefile target This target calls include-what-you-use, followed by clang-format, and checks to verify that there are no changes as a result. Signed-off-by: Michael Richters --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 3647af3b..a2ba21ce 100644 --- a/Makefile +++ b/Makefile @@ -117,6 +117,11 @@ check-formatting: --verbose \ src plugins examples testing +.PHONY: check-includes +check-includes: + bin/iwyu.py -v src plugins + bin/format-code.py -f -v --check src plugins + .PHONY: cpplint-noisy cpplint-noisy: -bin/cpplint.py --config=.cpplint-noisy --recursive src plugins examples