From 064717fcc800d9ca94366745610305d12a5532a4 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 3 May 2024 09:13:00 +0200 Subject: split lock file functions into separate file to enable testing --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 816596e..855b34b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ .PHONY: check format check-luacheck check-format LUA_FILES := $(shell find -name "*.lua") +TEST_FILES := $(shell find -name "*_test.lua") check: check-luacheck check-format @@ -12,3 +13,6 @@ check-format: format: lua-format -i $(LUA_FILES) + +test: + set -e; for tf in $(TEST_FILES); do "$$tf"; done -- cgit v1.2.3