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.
helix/vendor/vendor_tree_sitter.sh

14 lines
284 B
Bash

#!/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