From 29b50c08a7e8524797549354a2e5063974c0e1b2 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 16 Aug 2021 14:04:39 +0200 Subject: add tests for the LSP message parser --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3