diff options
author | Yuan Fu <casouri@gmail.com> | 2022-12-06 15:55:14 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-12-06 16:11:35 -0800 |
commit | 6acf95cbea6007c1a11e2e7d8e0a535c3cbe2e33 (patch) | |
tree | 39169ae2dd98d490d785cb69b2bb389b2f3767c7 /admin/notes/tree-sitter/build-module/batch.sh | |
parent | cc63c086971a36da7341786ea48ee075020a93d5 (diff) | |
download | emacs-6acf95cbea6007c1a11e2e7d8e0a535c3cbe2e33.tar.gz emacs-6acf95cbea6007c1a11e2e7d8e0a535c3cbe2e33.tar.bz2 emacs-6acf95cbea6007c1a11e2e7d8e0a535c3cbe2e33.zip |
Fix admin/notes/tree-sitter/build-module/build.sh (bug#59789)
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.
Diffstat (limited to 'admin/notes/tree-sitter/build-module/batch.sh')
-rwxr-xr-x | admin/notes/tree-sitter/build-module/batch.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/notes/tree-sitter/build-module/batch.sh b/admin/notes/tree-sitter/build-module/batch.sh index deed18978a1..d45f37f4b64 100755 --- a/admin/notes/tree-sitter/build-module/batch.sh +++ b/admin/notes/tree-sitter/build-module/batch.sh @@ -12,6 +12,7 @@ languages=( 'python' 'rust' 'typescript' + 'tsx' ) for language in "${languages[@]}" |