From: Yuan Fu Date: Mon, 10 Oct 2022 16:14:30 +0000 (-0700) Subject: Fix tree-sitter build script in admin/notes X-Git-Tag: emacs-29.0.90~1847 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=861e1fb595eb1f01ca5c137fb4830695f9c1e7d2;p=emacs.git Fix tree-sitter build script in admin/notes * admin/notes/tree-sitter/build-module/README: Add explaination. * admin/notes/tree-sitter/build-module/build.sh: change typescript to tsx. --- diff --git a/admin/notes/tree-sitter/build-module/README b/admin/notes/tree-sitter/build-module/README index ee6076c119c..d205661e6c3 100644 --- a/admin/notes/tree-sitter/build-module/README +++ b/admin/notes/tree-sitter/build-module/README @@ -12,6 +12,6 @@ To build all modules at once, run ./batch.sh -This gives you C, JSON, Go, HTML, Javascript, CSS, Python, Typescript, -C#, C++, Rust. More can be added to batch.sh unless it's directory -strucure is not standard. \ No newline at end of file +This gives you C, JSON, Go, HTML, Javascript, CSS, Python, Typescript +(tsx), C# (csharp), C++ (cpp), Rust. More can be added to batch.sh +unless it's directory strucure is not standard. \ No newline at end of file diff --git a/admin/notes/tree-sitter/build-module/build.sh b/admin/notes/tree-sitter/build-module/build.sh index 16792d05cbb..102ab310fa0 100755 --- a/admin/notes/tree-sitter/build-module/build.sh +++ b/admin/notes/tree-sitter/build-module/build.sh @@ -25,7 +25,7 @@ cd "tree-sitter-${lang}/src" if [ "${lang}" == "typescript/tsx" ] then - lang="typescript" + lang="tsx" fi # Build.