blob: 816596ed7c83c8f5ac51aecb37dbca062835fad3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
.PHONY: check format check-luacheck check-format
LUA_FILES := $(shell find -name "*.lua")
check: check-luacheck check-format
check-luacheck:
luacheck --globals=vis -- $(LUA_FILES)
check-format:
set -e; for lf in $(LUA_FILES); do tools/check-format "$${lf}"; done
format:
lua-format -i $(LUA_FILES)
|