aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-01-04 11:46:43 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2023-01-04 11:46:43 +0100
commitf0ae0454ee07b2062675e2d0cbf30dbffdc41faf (patch)
tree9cb663610cc34c231732ab25feb30c2497a3cad6 /Makefile
parentda9235af861e30af135b931e892371b504775896 (diff)
downloadvis-lspc-f0ae0454ee07b2062675e2d0cbf30dbffdc41faf.tar.gz
vis-lspc-f0ae0454ee07b2062675e2d0cbf30dbffdc41faf.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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