]> git.eshelyaron.com Git - emacs.git/commit
Fix admin/notes/tree-sitter/build-module/build.sh (bug#59789)
authorYuan Fu <casouri@gmail.com>
Tue, 6 Dec 2022 23:55:14 +0000 (15:55 -0800)
committerYuan Fu <casouri@gmail.com>
Wed, 7 Dec 2022 00:11:35 +0000 (16:11 -0800)
commit6acf95cbea6007c1a11e2e7d8e0a535c3cbe2e33
tree39169ae2dd98d490d785cb69b2bb389b2f3767c7
parentcc63c086971a36da7341786ea48ee075020a93d5
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.
admin/notes/tree-sitter/build-module/batch.sh
admin/notes/tree-sitter/build-module/build.sh