From 4b65e405baa07442b5c0594234e77c60d932513c Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 2 Jul 2016 18:13:57 +0200 Subject: [PATCH] luacheck infrastructure --- src/.luacheckrc | 2 ++ src/Makefile | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 src/.luacheckrc diff --git a/src/.luacheckrc b/src/.luacheckrc new file mode 100644 index 00000000..e314928d --- /dev/null +++ b/src/.luacheckrc @@ -0,0 +1,2 @@ +codes = true +std = 'luajit' diff --git a/src/Makefile b/src/Makefile index fb5fdcb7..d0166338 100644 --- a/src/Makefile +++ b/src/Makefile @@ -621,6 +621,9 @@ depend: test -s $$file || $(HOST_RM) $$file; \ done +luacheck: + luacheck host/*.lua jit/*.lua + .PHONY: default all amalg clean libbc depend ##############################################################################