aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEiichi NISHINA <github@channel-247.net>2017-02-12 02:10:53 +0900
committerJustin M. Keyes <justinkz@gmail.com>2017-03-27 13:51:05 +0200
commit62774e43564b166d6907c7abc2e3431a65bd5596 (patch)
tree504f43359d07d2a98b5a3da71dbe11e7c4e74aa5 /Makefile
parent7bc37ffb22a84668bba5b2e3589c4c05ad43f7d0 (diff)
downloadrneovim-62774e43564b166d6907c7abc2e3431a65bd5596.tar.gz
rneovim-62774e43564b166d6907c7abc2e3431a65bd5596.tar.bz2
rneovim-62774e43564b166d6907c7abc2e3431a65bd5596.zip
ci: Check that `#include "*.h"` works as a single include
Lesser form of include-what-you-use: at least guarantees that header file did not forget to include something through some other included file. Activate run_single_includes_tests on CI. Fix some IWYU violations. References #5321
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fed84582a9..47fb1e5edd 100644
--- a/Makefile
+++ b/Makefile
@@ -134,4 +134,7 @@ clint:
lint: clint testlint
+check-single-includes: build/.ran-cmake
+ +$(BUILD_CMD) -C build check-single-includes
+
.PHONY: test testlint functionaltest unittest lint clint clean distclean nvim libnvim cmake deps install