Get basic parsing working, add some unit tests
This commit is contained in:
parent
ead0e31262
commit
08217fff8d
7 changed files with 138 additions and 29 deletions
14
script/fetch-test-fixtures.sh
Executable file
14
script/fetch-test-fixtures.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
grammar_dir='fixtures/tree-sitter-rust'
|
||||
grammar_url='https://github.com/tree-sitter/tree-sitter-rust'
|
||||
|
||||
if [ ! -d $grammar_dir ]; then
|
||||
git clone $grammar_url $grammar_dir --depth=1
|
||||
fi
|
||||
|
||||
(
|
||||
cd $grammar_dir;
|
||||
git fetch origin master --depth=1
|
||||
git reset --hard origin/master;
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue