Skip to content

Commit

Permalink
attempt to debug luacov
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Sep 9, 2024
1 parent 799f484 commit 56f7b71
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lua/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)
Expand Down

0 comments on commit 56f7b71

Please sign in to comment.