From dc2777293b81314bf6d31c206a5b05a2beed2302 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Tue, 25 Jul 2017 21:46:43 +0200 Subject: makefile: add tasks lint and check --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 192ad88..943ce80 100644 --- a/Makefile +++ b/Makefile @@ -27,3 +27,8 @@ install: $(addprefix bin/,$(binfiles)) $(addprefix aports/,$(aportsfiles)) for file in $(binfiles); do \ install -m755 bin/$$file $(DESTDIR)$(bindir)/$${file%.lua} || exit 1; \ done + +check: lint + +lint: + luacheck aports bin -- cgit v1.2.3