From 25c4241b07d2036fc5d0d4c18be43a16a5370ef0 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sat, 22 Oct 2022 15:25:46 +0200 Subject: refactor: clean up test env paths (#3318) --- utils/ci/run_test.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'utils') diff --git a/utils/ci/run_test.sh b/utils/ci/run_test.sh index b12ceb7e..3e1bcf1b 100644 --- a/utils/ci/run_test.sh +++ b/utils/ci/run_test.sh @@ -2,6 +2,7 @@ set -e export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-"$HOME/.local/share/lunarvim"}" +export LUNARVIM_BASE_DIR="${LUNARVIM_BASE_DIR:-"$LUNARVIM_RUNTIME_DIR/lvim"}" export LVIM_TEST_ENV=true @@ -11,12 +12,10 @@ LUNARVIM_CACHE_DIR="$(mktemp -d)" export LUNARVIM_CONFIG_DIR LUNARVIM_CACHE_DIR -echo "cache: $LUNARVIM_CACHE_DIR - -config: $LUNARVIM_CONFIG_DIR" +printf "cache_dir: %s\nconfig_dir: %s\n" "$LUNARVIM_CACHE_DIR" "$LUNARVIM_CONFIG_DIR" lvim() { - nvim -u "$LUNARVIM_RUNTIME_DIR/lvim/tests/minimal_init.lua" --cmd "set runtimepath+=$LUNARVIM_RUNTIME_DIR/lvim" "$@" + nvim -u "$LUNARVIM_BASE_DIR/tests/minimal_init.lua" --cmd "set runtimepath+=$LUNARVIM_BASE_DIR" "$@" } if [ -n "$1" ]; then -- cgit v1.2.3