Add appveyor config
This commit is contained in:
parent
e61edf5398
commit
29c0cd3aa4
3 changed files with 41 additions and 0 deletions
16
script/fetch-test-fixtures.cmd
Executable file
16
script/fetch-test-fixtures.cmd
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
@Echo off
|
||||
SETLOCAL
|
||||
|
||||
Set grammar_dir=fixtures\tree-sitter-rust
|
||||
Set grammar_url=https://github.com/tree-sitter/tree-sitter-rust
|
||||
|
||||
@IF NOT EXIST %grammar_dir% (
|
||||
git clone %grammar_url% %grammar_dir% --depth=1
|
||||
)
|
||||
|
||||
pushd %grammar_dir%
|
||||
git fetch origin master --depth=1
|
||||
git reset --hard origin/master
|
||||
popd
|
||||
|
||||
ENDLOCAL
|
||||
Loading…
Add table
Add a link
Reference in a new issue