; * admin/notes/tree-sitter/build-module/build.sh: Minor name change.
This commit is contained in:
parent
1b0e282a7f
commit
91b8d9b7db
1 changed files with 4 additions and 4 deletions
|
@ -14,17 +14,17 @@ echo "Building ${lang}"
|
|||
|
||||
### Retrieve sources
|
||||
|
||||
namespace="tree-sitter"
|
||||
org="tree-sitter"
|
||||
repo="tree-sitter-${lang}"
|
||||
sourcedir="tree-sitter-${lang}/src"
|
||||
grammardir="tree-sitter-${lang}"
|
||||
|
||||
case "${lang}" in
|
||||
"dockerfile")
|
||||
namespace="camdencheek"
|
||||
org="camdencheek"
|
||||
;;
|
||||
"cmake")
|
||||
namespace="uyha"
|
||||
org="uyha"
|
||||
;;
|
||||
"typescript")
|
||||
sourcedir="tree-sitter-typescript/typescript/src"
|
||||
|
@ -37,7 +37,7 @@ case "${lang}" in
|
|||
;;
|
||||
esac
|
||||
|
||||
git clone "https://github.com/${namespace}/${repo}.git" \
|
||||
git clone "https://github.com/${org}/${repo}.git" \
|
||||
--depth 1 --quiet
|
||||
cp "${grammardir}"/grammar.js "${sourcedir}"
|
||||
# We have to go into the source directory to compile, because some
|
||||
|
|
Loading…
Add table
Reference in a new issue