summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Listopadov <andreyorst@gmail.com>2022-10-29 16:01:49 +0300
committerAndrey Listopadov <andreyorst@gmail.com>2022-10-29 16:01:49 +0300
commitef1640440c3bfd7a2b9814b16c32ecbec875a2ac (patch)
treeb55eda884548c3056b629dc8b65648058d184504
parent85db8b8549d9d45e39c1a5118d91d3fd3a88818f (diff)
fix coverage pipeline
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c7a4d79..6af1afc 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,6 @@ build: $(LUASOURCES)
@echo " laziness, and immutability are available in the same way as if" >> cljlib.lua
@echo " this library was used from Fennel. ]]" >> cljlib.lua
@cat init.lua >> cljlib.lua
- @rm init.lua
${LUASOURCES}: $(FNLSOURCES)
@@ -52,7 +51,7 @@ endif
testall: $(LUAEXECUTABLES)
@$(foreach lua,$?,LUA=$(lua) make test || exit;)
-luacov: COMPILEFLAGS += --correlate
+luacov: COMPILEFLAGS = --correlate --metadata
luacov: distclean build $(LUATESTS)
@$(foreach test,$(LUATESTS),$(LUA) -lluarocks.loader -lluacov $(test) || exit;)
luacov
@@ -61,6 +60,7 @@ ifdef LUACOV_COBERTURA
luacov-cobertura -o coverage/cobertura-coverage.xml
endif
+luacov-console: COMPILEFLAGS = --correlate --metadata
luacov-console: clean build $(LUATESTS)
@$(foreach test,$(LUATESTS),$(LUA) -lluarocks.loader -lluacov $(test) || exit;)
luacov