summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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