mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
fix(ci): update to changed neovim release name
This commit is contained in:
parent
13f4346876
commit
7d28f8afc4
1 changed files with 1 additions and 8 deletions
|
|
@ -3,20 +3,13 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
os=$(uname -s)
|
os=$(uname -s)
|
||||||
if [[ $os == Linux ]] && [[ ${NVIM_TAG} == nightly ]]; then
|
if [[ $os == Linux ]] then
|
||||||
wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux-x86_64.tar.gz
|
wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux-x86_64.tar.gz
|
||||||
tar -zxf 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
|
sudo ln -s "$PWD"/nvim-linux-x86_64/bin/nvim /usr/local/bin
|
||||||
rm -rf "$PWD"/nvim-linux-x86_64/lib/nvim/parser
|
rm -rf "$PWD"/nvim-linux-x86_64/lib/nvim/parser
|
||||||
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||||
ln -s "$PWD" ~/.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
|
|
||||||
rm -rf "$PWD"/nvim-linux64/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 == Darwin ]]; then
|
elif [[ $os == Darwin ]]; then
|
||||||
RELEASE_NAME="nvim-macos-$(uname -m)"
|
RELEASE_NAME="nvim-macos-$(uname -m)"
|
||||||
curl -L "https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/$RELEASE_NAME.tar.gz" | tar -xz
|
curl -L "https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/$RELEASE_NAME.tar.gz" | tar -xz
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue