aboutsummaryrefslogtreecommitdiff
path: root/.config/vis/plugins/vis-lspc/Makefile
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-04-27 05:30:46 +0000
committerdacctal <dacctal@symlinx.net>2026-04-27 05:30:46 +0000
commitd33d907f53c50d323eca75c4bfc02ab5b989b30a (patch)
tree6888a2074338a723f0fde99b03b09fbab91a265f /.config/vis/plugins/vis-lspc/Makefile
parent89505535c652cd6f31a15df73293c6e90eaa852f (diff)
added bare pluginsHEADmaster
Diffstat (limited to '.config/vis/plugins/vis-lspc/Makefile')
-rw-r--r--.config/vis/plugins/vis-lspc/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/vis/plugins/vis-lspc/Makefile b/.config/vis/plugins/vis-lspc/Makefile
new file mode 100644
index 0000000..08666fc
--- /dev/null
+++ b/.config/vis/plugins/vis-lspc/Makefile
@@ -0,0 +1,19 @@
+.PHONY: check format check-luacheck check-format test
+
+LUA_FILES := $(shell find -name "*.lua" -not -path "./json.lua" -and -not -path "./tests/*")
+
+TEST_FILES := $(shell find -name "*_test.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)
+
+test:
+ set -e; for tf in $(TEST_FILES); do "$$tf"; done