diff options
| author | Andrey Orst <andreyorst@gmail.com> | 2020-11-05 22:25:40 +0300 |
|---|---|---|
| committer | Andrey Orst <andreyorst@gmail.com> | 2020-11-05 22:25:40 +0300 |
| commit | 37ad7e96060c9fc6c06a47447329b83104932f34 (patch) | |
| tree | cb1a18aae0d9bebbd7aa7754fd2eb4587792b26c /Makefile | |
| parent | 6b65999a1f565651fc48a076a7473b6e93f6357a (diff) | |
fix(CI): fix coverage pipline
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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: |