diff options
Diffstat (limited to 'config/essentials/vis/Makefile')
-rw-r--r-- | config/essentials/vis/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/config/essentials/vis/Makefile b/config/essentials/vis/Makefile index 5f41043..be230e3 100644 --- a/config/essentials/vis/Makefile +++ b/config/essentials/vis/Makefile @@ -1,16 +1,11 @@ -.PHONY: check format check-luacheck check-format +.PHONY: check format all -LUA_FILES := $(shell find -name "*.lua") +LUA_FILES := $(shell find . -name "*.lua") -check: check-luacheck +all: check format -all: check check-format - -check-luacheck: - luacheck --globals=vis -- $(LUA_FILES) - -check-format: - set -e; for lf in $(LUA_FILES); do tools/check-format "$${lf}"; done +check: + luacheck --no-color --globals=vis -- $(LUA_FILES) format: lua-format -i $(LUA_FILES) |