; * admin/notes/tree-sitter/build-module/build.sh: Minor name change.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user