1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:40:05 +08:00
SpaceVim/bundle/nvim-lspconfig/scripts/run_test.sh
2021-10-05 15:13:10 +08:00

14 lines
294 B
Bash
Vendored

#!/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"