mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
ci(install): adapt to new Neovim release artefact names
Old name can be removed after 0.10.4 release
This commit is contained in:
parent
61a385d74f
commit
2206739829
1 changed files with 8 additions and 1 deletions
|
|
@ -3,7 +3,14 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
os=$(uname -s)
|
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
|
wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux64.tar.gz
|
||||||
tar -zxf nvim-linux64.tar.gz
|
tar -zxf nvim-linux64.tar.gz
|
||||||
sudo ln -s "$PWD"/nvim-linux64/bin/nvim /usr/local/bin
|
sudo ln -s "$PWD"/nvim-linux64/bin/nvim /usr/local/bin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue