mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-18 03:40:47 -08:00
Besides the problem mentioned by Juri, which is fixed by removing
-cp tree-sitter-lang.in "tree-sitter-${lang}/src"
-cp emacs-module.h "tree-sitter-${lang}/src"
(we removed those files in an earlier commit, because they are not
used anymore.)
Now it also more parameterized and builds typescript and tsx
separately.
* admin/notes/tree-sitter/build-module/build.sh (topdir)
(repo, sourcedir, grammardir): New variables.
(Build): Make it parametric.
(Copy out): Use absolute path.
* admin/notes/tree-sitter/build-module/batch.sh (languages): Add tsx.
21 lines
236 B
Bash
Executable file
21 lines
236 B
Bash
Executable file
#!/bin/bash
|
|
|
|
languages=(
|
|
'c'
|
|
'cpp'
|
|
'css'
|
|
'c-sharp'
|
|
'go'
|
|
'html'
|
|
'javascript'
|
|
'json'
|
|
'python'
|
|
'rust'
|
|
'typescript'
|
|
'tsx'
|
|
)
|
|
|
|
for language in "${languages[@]}"
|
|
do
|
|
./build.sh $language
|
|
done
|