From 861e1fb595eb1f01ca5c137fb4830695f9c1e7d2 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Mon, 10 Oct 2022 09:14:30 -0700 Subject: [PATCH] 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. --- admin/notes/tree-sitter/build-module/README | 6 +++--- admin/notes/tree-sitter/build-module/build.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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. -- 2.39.2