diff options
| author | Yuan Fu | 2022-10-10 09:14:30 -0700 |
|---|---|---|
| committer | Yuan Fu | 2022-10-10 09:14:30 -0700 |
| commit | 861e1fb595eb1f01ca5c137fb4830695f9c1e7d2 (patch) | |
| tree | 350c51833691faa8be8faa08d0afba5193f7ffd3 /admin/notes | |
| parent | b6568c1389128d47538b646d940427949ddf58d0 (diff) | |
| download | emacs-861e1fb595eb1f01ca5c137fb4830695f9c1e7d2.tar.gz emacs-861e1fb595eb1f01ca5c137fb4830695f9c1e7d2.zip | |
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.
Diffstat (limited to 'admin/notes')
| -rw-r--r-- | admin/notes/tree-sitter/build-module/README | 6 | ||||
| -rwxr-xr-x | 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 | |||
| 12 | 12 | ||
| 13 | ./batch.sh | 13 | ./batch.sh |
| 14 | 14 | ||
| 15 | This gives you C, JSON, Go, HTML, Javascript, CSS, Python, Typescript, | 15 | This gives you C, JSON, Go, HTML, Javascript, CSS, Python, Typescript |
| 16 | C#, C++, Rust. More can be added to batch.sh unless it's directory | 16 | (tsx), C# (csharp), C++ (cpp), Rust. More can be added to batch.sh |
| 17 | strucure is not standard. \ No newline at end of file | 17 | 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" | |||
| 25 | 25 | ||
| 26 | if [ "${lang}" == "typescript/tsx" ] | 26 | if [ "${lang}" == "typescript/tsx" ] |
| 27 | then | 27 | then |
| 28 | lang="typescript" | 28 | lang="tsx" |
| 29 | fi | 29 | fi |
| 30 | 30 | ||
| 31 | # Build. | 31 | # Build. |