mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
test: remove bundled parsers in CI
ensure that queries are tested against parser version in lockfile
This commit is contained in:
parent
7709eb4b47
commit
3b040ce854
2 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
curl -L https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-macos.tar.gz | tar -xz
|
curl -L https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-macos.tar.gz | tar -xz
|
||||||
sudo ln -s $(pwd)/nvim-macos/bin/nvim /usr/local/bin
|
sudo ln -s $(pwd)/nvim-macos/bin/nvim /usr/local/bin
|
||||||
|
rm -rf $(pwd)/nvim-macos/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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,9 @@
|
||||||
wget -O - https://github.com/tree-sitter/tree-sitter/releases/download/${TREE_SITTER_CLI_TAG}/tree-sitter-linux-x64.gz | gunzip -c > tree-sitter
|
wget -O - https://github.com/tree-sitter/tree-sitter/releases/download/${TREE_SITTER_CLI_TAG}/tree-sitter-linux-x64.gz | gunzip -c > tree-sitter
|
||||||
sudo cp ./tree-sitter /usr/bin/tree-sitter
|
sudo cp ./tree-sitter /usr/bin/tree-sitter
|
||||||
sudo chmod uog+rwx /usr/bin/tree-sitter
|
sudo chmod uog+rwx /usr/bin/tree-sitter
|
||||||
wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim.appimage
|
wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux64.tar.gz
|
||||||
chmod u+x nvim.appimage
|
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
|
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
|
||||||
sudo cp ./nvim.appimage /usr/bin/nvim
|
|
||||||
sudo chmod uog+rwx /usr/bin/nvim
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue