From d33d907f53c50d323eca75c4bfc02ab5b989b30a Mon Sep 17 00:00:00 2001 From: dacctal Date: Mon, 27 Apr 2026 05:30:46 +0000 Subject: added bare plugins --- .config/vis/plugins/vis-lspc/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .config/vis/plugins/vis-lspc/Makefile (limited to '.config/vis/plugins/vis-lspc/Makefile') 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 -- cgit v1.2.3