From ef1640440c3bfd7a2b9814b16c32ecbec875a2ac Mon Sep 17 00:00:00 2001 From: Andrey Listopadov Date: Sat, 29 Oct 2022 16:01:49 +0300 Subject: fix coverage pipeline --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3