aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2014-12-13 02:20:34 +0100
committerJustin M. Keyes <justinkz@gmail.com>2014-12-24 00:32:26 -0500
commite21f6e754d87478d05a683224cab352fe5271e2a (patch)
tree3714a9faaf30eb4f62f1340f9e2bdd1fe291c0c2 /Makefile
parentaa08632caf80d2259d94e8f6e30cd806e3c05a1d (diff)
downloadrneovim-e21f6e754d87478d05a683224cab352fe5271e2a.tar.gz
rneovim-e21f6e754d87478d05a683224cab352fe5271e2a.tar.bz2
rneovim-e21f6e754d87478d05a683224cab352fe5271e2a.zip
Linting: Integrate into CMake, enable by default.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7a37e9ba4b..9390463762 100644
--- a/Makefile
+++ b/Makefile
@@ -98,4 +98,10 @@ distclean: clean
install: | nvim
+$(BUILD_CMD) -C build install
-.PHONY: test functionaltest unittest clean distclean nvim libnvim cmake deps install
+lint:
+ cmake -DLINT_PRG=./clint.py \
+ -DLINT_DIR=src \
+ -DLINT_IGNORE_FILE=clint-ignored-files.txt \
+ -P cmake/RunLint.cmake
+
+.PHONY: test functionaltest unittest lint clean distclean nvim libnvim cmake deps install