summaryrefslogtreecommitdiff
path: root/config/essentials/vis/Makefile
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-20 22:50:03 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-20 22:50:03 +0200
commit2f8816e47e0797083a667d5cf7e778940dd1f789 (patch)
treef612d4f1caa21d312a773b0aa28028577c64a6f7 /config/essentials/vis/Makefile
parent3d099d5157ce479b6a15e30ff2efbe1ee0d377c3 (diff)
checkpoint
Diffstat (limited to 'config/essentials/vis/Makefile')
-rw-r--r--config/essentials/vis/Makefile15
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)