From f0ae0454ee07b2062675e2d0cbf30dbffdc41faf Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 4 Jan 2023 11:46:43 +0100 Subject: fix check and test make targets and run make format The make targets use a shell loop which does not fail if one of the iterations fail. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7d505d4..144e229 100644 --- a/Makefile +++ b/Makefile @@ -10,10 +10,10 @@ check-luacheck: luacheck --globals=vis -- $(LUA_FILES) check-format: - for lf in $(LUA_FILES); do tools/check-format "$${lf}"; done + set -e; for lf in $(LUA_FILES); do tools/check-format "$${lf}"; done format: lua-format -i $(LUA_FILES) test: - for tf in $(TEST_FILES); do "$$tf"; done + set -e; for tf in $(TEST_FILES); do "$$tf"; done -- cgit v1.2.3