From 2f8816e47e0797083a667d5cf7e778940dd1f789 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 20 Jun 2024 22:50:03 +0200 Subject: checkpoint --- config/essentials/vis/Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'config/essentials/vis/Makefile') 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) -- cgit v1.2.3