Skip to content

Commit

Permalink
chore: use git submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatyang committed Jul 4, 2020
1 parent c584b42 commit d6a2fa3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/build
/node_modules
/tree-sitter
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "tree-sitter"]
path = tree-sitter
url = https://github.com/ikatyang/tree-sitter
branch = 0.16.7-custom
3 changes: 1 addition & 2 deletions scripts/setup-tree-sitter.sh
Original file line number Diff line number Diff line change
@@ -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
cd tree-sitter
./script/build-wasm
cargo build --release
1 change: 1 addition & 0 deletions tree-sitter
Submodule tree-sitter added at cd5807

0 comments on commit d6a2fa3

Please sign in to comment.