chore: plenary tests POC: add make entry, specify tests
This commit is contained in:
parent
006b27dc0a
commit
91e6b978e0
2
Makefile
2
Makefile
@ -47,7 +47,7 @@ help-check: help-update
|
||||
# test
|
||||
#
|
||||
test: plenary.nvim
|
||||
scripts/test.sh $$TEST_NAME
|
||||
scripts/test.sh
|
||||
|
||||
#
|
||||
# Dependencies
|
||||
|
||||
@ -10,11 +10,13 @@ export DIR_PLENARY
|
||||
|
||||
if [ "${#}" -eq 1 ]; then
|
||||
TEST_NAME="${1}"
|
||||
else
|
||||
elif [ -z "${TEST_NAME}" ]; then
|
||||
TEST_NAME="tests"
|
||||
fi
|
||||
export TEST_NAME
|
||||
|
||||
echo "testing: ${TEST_NAME}"
|
||||
|
||||
nvim --headless \
|
||||
--clean \
|
||||
-u "${DIR_REPO}/tests/minimal_init.lua" \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user