From 7083caf191f3763748fc00695381ad6307029be7 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Fri, 24 Jan 2025 11:43:35 +0100 Subject: [PATCH] chore: clean up makefile --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9ac43086..7644b4c5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,3 @@ -TESTS_INIT=tests/minimal_init.lua -TESTS_DIR=tests/ - # --- Default targets --- .PHONY: install @@ -21,6 +18,10 @@ vuln: vuln-go # --- Targets --- +.PHONY: clean +clean: + rm -rf .tests + .PHONY: test-lua test-lua: nvim \ @@ -28,7 +29,7 @@ test-lua: --noplugin \ -i NONE \ -u tests/bootstrap.lua \ - -c "PlenaryBustedDirectory ${TESTS_DIR} { minimal_init = '${TESTS_INIT}', timeout = 50000 }" + -c "PlenaryBustedDirectory tests/ { minimal_init = 'tests/minimal_init.lua', timeout = 50000 }" .PHONY: test-go test-go: