chore: use git submodule
This commit is contained in:
parent
c584b42dc7
commit
d6a2fa3829
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,2 @@
|
||||||
/build
|
/build
|
||||||
/node_modules
|
/node_modules
|
||||||
/tree-sitter
|
|
||||||
|
|
4
.gitmodules
vendored
Normal file
4
.gitmodules
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[submodule "tree-sitter"]
|
||||||
|
path = tree-sitter
|
||||||
|
url = https://github.com/ikatyang/tree-sitter
|
||||||
|
branch = 0.16.7-custom
|
|
@ -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
1
tree-sitter
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit cd580709f15f145601f40e6643af99befb8ce635
|
Loading…
Reference in a new issue