aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-03-31 12:02:59 +0300
committerZyX <kp-pav@yandex.ru>2017-03-31 16:04:18 +0300
commitc61858a9978504c645f09de60daf4f9786c2220e (patch)
tree1086c01fb178801836ddfb0a63b15f410070da30 /Makefile
parent24fd125893203c667789cb574b289fc1c9eaf6bc (diff)
downloadrneovim-c61858a9978504c645f09de60daf4f9786c2220e.tar.gz
rneovim-c61858a9978504c645f09de60daf4f9786c2220e.tar.bz2
rneovim-c61858a9978504c645f09de60daf4f9786c2220e.zip
cmake: Replace RunLint.cmake with code in src/nvim/CMakeLists.txt
This also removes LINT_FILE environment variable, other then that functionality is kept. It is expected that developers needing partial linting will use `make lint`, touching interesting file before (if not done already by writing to them).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index d2f6c11b19..5e2bbb99d1 100644
--- a/Makefile
+++ b/Makefile
@@ -126,15 +126,15 @@ distclean: clean
install: | nvim
+$(BUILD_CMD) -C build install
-clint:
- $(CMAKE_PRG) -DLINT_PRG=./src/clint.py \
- -DLINT_DIR=src \
- -DLINT_SUPPRESS_URL="$(DOC_DOWNLOAD_URL_BASE)$(CLINT_ERRORS_FILE_PATH)" \
- -P cmake/RunLint.cmake
+clint: build/.ran-cmake
+ +$(BUILD_CMD) -C build clint
+
+clint-full: build/.ran-cmake
+ +$(BUILD_CMD) -C build clint-full
check-single-includes: build/.ran-cmake
+$(BUILD_CMD) -C build check-single-includes
-lint: check-single-includes clint testlint
+lint: check-single-includes clint-full testlint
.PHONY: test testlint functionaltest unittest lint clint clean distclean nvim libnvim cmake deps install