aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2021-08-16 14:04:39 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2021-08-16 14:09:26 +0200
commit29b50c08a7e8524797549354a2e5063974c0e1b2 (patch)
tree26afb1bdd77762d67b3803c8068eab5f9cbdf5a5 /Makefile
parent483ed22f686010cb9fe6f8ec4512263dd8d95706 (diff)
downloadvis-lspc-29b50c08a7e8524797549354a2e5063974c0e1b2.tar.gz
vis-lspc-29b50c08a7e8524797549354a2e5063974c0e1b2.zip
add tests for the LSP message parser
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