summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrey Orst <andreyorst@gmail.com>2020-11-07 13:04:23 +0300
committerAndrey Orst <andreyorst@gmail.com>2020-11-07 13:04:23 +0300
commit2839566c7f83747bb8e2f28ae47699bd27f0ada7 (patch)
tree2e0155864204f9db000e508c6ac014e5f0678f64 /Makefile
parent41a22a09ba833b79676ac4335bca943dab53cbcb (diff)
fix(CI): update luacov pipeline
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4f6d1c5..5188226 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
LUA ?= lua
-FNLSOURCES = core.fnl test/core.fnl test/macros.fnl
+FNLSOURCES = core.fnl test/core.fnl test/macros.fnl test/fn.fnl
LUASOURCES = $(FNLSOURCES:.fnl=.lua)
all: $(LUASOURCES)
@@ -37,7 +37,8 @@ luacov-console: | luacov
@mv test/fn.lua.tmp test/fn.lua
luacov-stats: test/core.lua test/macros.lua test/fn.lua
- @$(LUA) -lluarocks.loader -lluacov $<
+ @$(foreach test, $?, $(LUA) -lluarocks.loader -lluacov $(test);)
+
help:
@echo "make -- run tests and create lua library" >&2