From 56f7b7148941e834a9ecf607446eef0b8278756a Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Mon, 9 Sep 2024 00:51:24 -0500 Subject: [PATCH] attempt to debug luacov --- lua/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lua/Makefile b/lua/Makefile index b519a3bd..0dd65483 100644 --- a/lua/Makefile +++ b/lua/Makefile @@ -2,11 +2,6 @@ BLUE=\033[0;34m NC=\033[0m # No Color COV?=false -ifneq ($(COV),false) -cov_args= -lluacov && luacov -else -cov_args= -endif .PHONY: help help: @@ -16,7 +11,11 @@ help: .PHONY: test test: ../LICENSE - @lua test.lua $(cov_args) +ifneq ($(COV),false) + @lua -lluacov test.lua && luacov +else + @lua test.lua +endif test_%: @$(MAKE) test $(MFLAGS)