GNUmakefile
changeset 8801 505722879b55
parent 8785 daa518a22c34
child 8810 bf91de890107
--- a/GNUmakefile	Fri May 18 14:57:39 2018 +0100
+++ b/GNUmakefile	Fri May 18 14:58:14 2018 +0100
@@ -76,6 +76,10 @@
 	luacov-console -s
 	@echo "To inspect individual files run: luacov-console -l FILENAME"
 
+lint:
+	luacheck -q $$(hg files -I '**.lua') prosody prosodyctl
+	@echo $$(sed -n '/^exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored
+
 util/%.so:
 	$(MAKE) install -C util-src