aboutsummaryrefslogtreecommitdiff
path: root/ci/install.sh
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-10-20 22:30:31 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-10-25 07:24:57 -0400
commitec205f4b9b926a17b3211495ec6468db8b80aa6a (patch)
tree38757db559a656ce14444ca56a851c554cb08025 /ci/install.sh
parent9b22b69454de45d37ae0bd5ebbefa8538d36197f (diff)
downloadrneovim-ec205f4b9b926a17b3211495ec6468db8b80aa6a.tar.gz
rneovim-ec205f4b9b926a17b3211495ec6468db8b80aa6a.tar.bz2
rneovim-ec205f4b9b926a17b3211495ec6468db8b80aa6a.zip
ci: simplify tree-sitter-cli install
Remove useless `npm link` for tree-sitter-cli. Use powershell builtins.
Diffstat (limited to 'ci/install.sh')
-rwxr-xr-xci/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/install.sh b/ci/install.sh
index 24a4bd7450..4a48a4f5d7 100755
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -31,7 +31,6 @@ echo "Install tree-sitter npm package"
# https://github.com/tree-sitter/tree-sitter/commit/e14e285a1087264a8c74a7c62fcaecc49db9d904
# If queries added to tree-sitter-c, we can use latest tree-sitter-cli
npm install -g tree-sitter-cli@v0.15.9
-npm link tree-sitter-cli
echo "Install tree-sitter c parser"
curl "https://codeload.github.com/tree-sitter/tree-sitter-c/tar.gz/v0.15.2" -o tree_sitter_c.tar.gz
@@ -48,3 +47,4 @@ else
cd src/
gcc -m32 -o "$TREE_SITTER_DIR/bin/c.so" -shared parser.c -I.
fi
+test -f "$TREE_SITTER_DIR/bin/c.so"