Makefile: let "lint" target run both clint and testlint

This commit is contained in:
Björn Linse 2016-05-10 20:44:57 +02:00
parent 0bfc1f33a0
commit 2a74cba614

View File

@ -94,7 +94,7 @@ functionaltest: | nvim
functionaltest-lua: | nvim
+$(BUILD_CMD) -C build functionaltest-lua
testlint: | nvim
testlint: | build/.ran-cmake deps
$(BUILD_CMD) -C build testlint
unittest: | nvim
@ -115,10 +115,12 @@ distclean: clean
install: | nvim
+$(BUILD_CMD) -C build install
lint:
clint:
cmake -DLINT_PRG=./clint.py \
-DLINT_DIR=src \
-DLINT_SUPPRESS_URL="$(DOC_DOWNLOAD_URL_BASE)$(CLINT_ERRORS_FILE_PATH)" \
-P cmake/RunLint.cmake
.PHONY: test testlint functionaltest unittest lint clean distclean nvim libnvim cmake deps install
lint: clint testlint
.PHONY: test testlint functionaltest unittest lint clint clean distclean nvim libnvim cmake deps install