From 37ad7e96060c9fc6c06a47447329b83104932f34 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Thu, 5 Nov 2020 22:25:40 +0300 Subject: fix(CI): fix coverage pipline --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d8ec9ce..4f6d1c5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ LUA ?= lua -FNLSOURCES = core.fnl core_test.fnl macros_test.fnl +FNLSOURCES = core.fnl test/core.fnl test/macros.fnl LUASOURCES = $(FNLSOURCES:.fnl=.lua) all: $(LUASOURCES) @@ -14,6 +14,7 @@ ${LUASOURCES}: $(FNLSOURCES) clean: rm -f *.lua + rm -f test/*.lua clean-all: clean rm -f luacov* @@ -27,9 +28,15 @@ luacov: | clean-all all luacov-stats luacov luacov-console: | luacov + @mv test/core.lua test/core.lua.tmp + @mv test/macros.lua test/macros.lua.tmp + @mv test/fn.lua test/fn.lua.tmp luacov-console . + @mv test/core.lua.tmp test/core.lua + @mv test/macros.lua.tmp test/macros.lua + @mv test/fn.lua.tmp test/fn.lua -luacov-stats: core_test.lua macros_test.lua +luacov-stats: test/core.lua test/macros.lua test/fn.lua @$(LUA) -lluarocks.loader -lluacov $< help: -- cgit v1.2.3