aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-05-03 09:13:00 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2024-05-03 09:13:00 +0200
commit064717fcc800d9ca94366745610305d12a5532a4 (patch)
tree538e14ed2bccd4d176c163a22f709def397df9a1 /Makefile
parent6bce026b0c664ba9686a37e614330cb84be3a5e6 (diff)
downloadvis-lockfiles-064717fcc800d9ca94366745610305d12a5532a4.tar.gz
vis-lockfiles-064717fcc800d9ca94366745610305d12a5532a4.zip
split lock file functions into separate file to enable testing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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