chore: use git submodule

This commit is contained in:
Ika 2020-07-04 16:45:48 +08:00
parent c584b42dc7
commit d6a2fa3829
4 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,3 +1,2 @@
/build /build
/node_modules /node_modules
/tree-sitter

4
.gitmodules vendored Normal file
View file

@ -0,0 +1,4 @@
[submodule "tree-sitter"]
path = tree-sitter
url = https://github.com/ikatyang/tree-sitter
branch = 0.16.7-custom

View file

@ -1,5 +1,4 @@
git clone https://github.com/ikatyang/tree-sitter --branch 0.16.7-custom --depth 1
cd tree-sitter
git submodule update --init git submodule update --init
cd tree-sitter
./script/build-wasm ./script/build-wasm
cargo build --release cargo build --release

1
tree-sitter Submodule

@ -0,0 +1 @@
Subproject commit cd580709f15f145601f40e6643af99befb8ce635