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 <gedankenexperimenter@gmail.com>
pull/1155/head
Michael Richters 3 years ago
parent b6a8bb6dbd
commit f635389b33
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -117,6 +117,11 @@ check-formatting:
--verbose \ --verbose \
src plugins examples testing 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 .PHONY: cpplint-noisy
cpplint-noisy: cpplint-noisy:
-bin/cpplint.py --config=.cpplint-noisy --recursive src plugins examples -bin/cpplint.py --config=.cpplint-noisy --recursive src plugins examples

Loading…
Cancel
Save