diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
