mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
284 B
Bash
14 lines
284 B
Bash
7 months ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
REMOTE=https://github.com/tree-sitter/tree-sitter.git
|
||
|
BRANCH=v0.22.5
|
||
|
|
||
|
rm -rf tree-sitter
|
||
|
rm -rf tmp
|
||
|
git clone --depth 1 --branch $BRANCH $REMOTE tmp
|
||
|
mkdir tree-sitter
|
||
|
mv tmp/lib/src tree-sitter
|
||
|
mv tmp/lib/include tree-sitter
|
||
|
mv tmp/LICENSE tree-sitter
|
||
|
rm -rf tmp
|