Drop extensions from script filenames
This commit is contained in:
parent
7dfb1dbdf6
commit
04afda2e66
9 changed files with 4 additions and 5 deletions
|
|
@ -1,27 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
GRAMMARS_DIR=$(dirname $0)/../spec/fixtures
|
||||
|
||||
GRAMMARS=(
|
||||
javascript
|
||||
json
|
||||
c
|
||||
cpp
|
||||
)
|
||||
|
||||
for grammar in ${GRAMMARS[@]}; do
|
||||
echo "Fetching ${grammar} grammar..."
|
||||
|
||||
grammar_dir=${GRAMMARS_DIR}/${grammar}
|
||||
grammar_url=https://github.com/maxbrunsfeld/tree-sitter-${grammar}
|
||||
|
||||
if [ ! -d $grammar_dir ]; then
|
||||
git clone $grammar_url $grammar_dir
|
||||
fi
|
||||
|
||||
(
|
||||
cd $grammar_dir;
|
||||
git reset --hard;
|
||||
git pull origin master;
|
||||
)
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue