Skip to content

Commit

Permalink
fix(tests): prepare download script
Browse files Browse the repository at this point in the history
  • Loading branch information
gorillamoe committed Sep 6, 2024
1 parent 517654e commit 0a64934
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ http-client.env.json
*.http
*graphql-schema.json
/http-examples
/_neovim
5 changes: 3 additions & 2 deletions scripts/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ prepare() {
local download_url=$1

if [[ -n $download_url ]]; then
mkdir -p _neovim
curl -sL "$download_url" _neovim/nvim && chmod +x _neovim/nvim
curl -sL "$download_url" -o _neovim/nvim && chmod +x _neovim/nvim

mkdir -p ~/.local/share/nvim/site/pack/vendor/start

Expand All @@ -26,6 +25,8 @@ prepare() {
}

run() {
export PATH="${PWD}/_neovim:${PATH}"

local tempfile
tempfile=$(mktemp)

Expand Down

0 comments on commit 0a64934

Please sign in to comment.