aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 116c2a0..cdf9647 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@
LUA_FILES := $(shell find -name "*.lua" -not -path "./json.lua")
+TEST_FILES := $(shell find -name "*_test.lua")
+
# bash's process substitution is used for check-format
SHELL := /bin/bash
@@ -15,3 +17,6 @@ check-format:
format:
lua-format -i $(LUA_FILES)
+
+test:
+ for tf in $(TEST_FILES); do $$tf; done