diff options
author | kylo252 <[email protected]> | 2022-10-22 15:25:46 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-22 15:25:46 +0200 |
commit | 25c4241b07d2036fc5d0d4c18be43a16a5370ef0 (patch) | |
tree | 4375736f21d6e8eaa316af748d9938d3c2740d52 /utils | |
parent | 36c8bdee9ff59a0a63c1edfc445b5eb2886cf246 (diff) |
refactor: clean up test env paths (#3318)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ci/run_test.sh | 7 |
1 files changed, 3 insertions, 4 deletions
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 |