nvim/pack/acp/opt/nvim-lspconfig/scripts/run_test.sh

14 lines
294 B
Bash
Raw Normal View History

2022-01-10 11:08:46 +00:00
#!/bin/sh
PJ_ROOT=$(pwd)
if [ ! -d ./neovim ]; then
git clone --depth 1 https://github.com/neovim/neovim
fi
cd ./neovim
make functionaltest \
BUSTED_ARGS="--lpath=$PJ_ROOT/?.lua --lpath=$PJ_ROOT/lua/?.lua --lpath=$PJ_ROOT/lua/lspconfig/?.lua" \
TEST_FILE="../test/lspconfig_spec.lua"