Explorar o código

Merge branch 'rolling'

kylo252 %!s(int64=3) %!d(string=hai) anos
pai
achega
b04aefbb79
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      utils/ci/verify_plugins.sh

+ 6 - 1
utils/ci/verify_plugins.sh

@@ -1,5 +1,10 @@
 #!/usr/bin/env bash
 set -e
 
+BASEDIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
+BASEDIR="$(dirname -- "$(dirname -- "$BASEDIR")")"
+
+LUNARVIM_BASE_DIR="${LUNARVIM_BASE_DIR:-"$BASEDIR"}"
+
 lvim --headless \
-  -c "luafile ./utils/ci/verify_plugins.lua"
+  -c "luafile ${LUNARVIM_BASE_DIR}/utils/ci/verify_plugins.lua"