aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-01-27 17:06:36 +0100
committerChristian Clason <ch.clason+github@icloud.com>2025-01-27 17:09:08 +0100
commit2206739829518c9ea59dbdb9003e0147fdaf2d1c (patch)
tree6c538a01de0e0c2127ce06743cc2bacd69d3fea1 /scripts
parentbot(lockfile): update perl (diff)
downloadnvim-treesitter-2206739829518c9ea59dbdb9003e0147fdaf2d1c.tar
nvim-treesitter-2206739829518c9ea59dbdb9003e0147fdaf2d1c.tar.gz
nvim-treesitter-2206739829518c9ea59dbdb9003e0147fdaf2d1c.tar.bz2
nvim-treesitter-2206739829518c9ea59dbdb9003e0147fdaf2d1c.tar.lz
nvim-treesitter-2206739829518c9ea59dbdb9003e0147fdaf2d1c.tar.xz
nvim-treesitter-2206739829518c9ea59dbdb9003e0147fdaf2d1c.tar.zst
nvim-treesitter-2206739829518c9ea59dbdb9003e0147fdaf2d1c.zip
ci(install): adapt to new Neovim release artefact names
Old name can be removed after 0.10.4 release
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci-install.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/ci-install.sh b/scripts/ci-install.sh
index 4677bb92e..7e99a8de4 100755
--- a/scripts/ci-install.sh
+++ b/scripts/ci-install.sh
@@ -3,7 +3,14 @@
set -e
os=$(uname -s)
-if [[ $os == Linux ]]; then
+if [[ $os == Linux ]] && [[ ${NVIM_TAG} == nightly ]]; then
+ wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux-x86_64.tar.gz
+ tar -zxf nvim-linux-x86_64.tar.gz
+ sudo ln -s "$PWD"/nvim-linux-x86_64/bin/nvim /usr/local/bin
+ rm -rf "$PWD"/nvim-linux-x86_64/lib/nvim/parser
+ mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
+ ln -s "$PWD" ~/.local/share/nvim/site/pack/nvim-treesitter/start
+elif [[ $os == Linux ]]; then
wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux64.tar.gz
tar -zxf nvim-linux64.tar.gz
sudo ln -s "$PWD"/nvim-linux64/bin/nvim /usr/local/bin