mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 19:03:30 +04:00
14 lines
284 B
Bash
Executable File
14 lines
284 B
Bash
Executable File
#!/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
|