Skip to content

Commit

Permalink
chore: clean up makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Jan 24, 2025
1 parent e0f907a commit 7083caf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
TESTS_INIT=tests/minimal_init.lua
TESTS_DIR=tests/

# --- Default targets ---

.PHONY: install
Expand All @@ -21,14 +18,18 @@ vuln: vuln-go

# --- Targets ---

.PHONY: clean
clean:
rm -rf .tests

.PHONY: test-lua
test-lua:
nvim \
--headless \
--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:
Expand Down

0 comments on commit 7083caf

Please sign in to comment.