aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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