aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-03-03 23:00:33 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-03-03 23:04:27 +0100
commit274aa963ddd3e29cd847aea8b7934351c56ed682 (patch)
tree53a48f73d3c3b58a6f624e5a3fb3f9d171c5a3a1 /Makefile
parent7f4fa4bf95b481eb09432f74a27d5f4a478142cf (diff)
downloadvis-274aa963ddd3e29cd847aea8b7934351c56ed682.tar.gz
vis-274aa963ddd3e29cd847aea8b7934351c56ed682.tar.xz
build: add luacheck make target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b702955..f1a7d35 100644
--- a/Makefile
+++ b/Makefile
@@ -101,6 +101,9 @@ luadoc:
luadoc-all:
@cd lua/doc && ldoc -a . && sed -e "s/RELEASE/${VERSION}/" -i index.html
+luacheck:
+ @luacheck --config .luacheckrc lua test/lua | less -R
+
install: $(ELF)
@echo stripping executable
@for e in $(ELF); do \
@@ -137,4 +140,4 @@ uninstall:
@echo removing support files from ${DESTDIR}${SHAREPREFIX}/vis
@rm -rf ${DESTDIR}${SHAREPREFIX}/vis
-.PHONY: all clean dist install uninstall debug profile coverage test test-update luadoc luadoc-all man
+.PHONY: all clean dist install uninstall debug profile coverage test test-update luadoc luadoc-all luacheck man