feat(dsl)!: support other JS runtimes

This commit is contained in:
ObserverOfTime 2024-05-24 23:53:33 +03:00 committed by GitHub
parent d77279d2e3
commit 055d0cbd34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 72 additions and 31 deletions

View file

@ -92,7 +92,8 @@ struct Generate {
long,
value_name = "EXECUTABLE",
env = "TREE_SITTER_JS_RUNTIME",
help = "The path to the JavaScript runtime to use for generating parsers"
default_value = "node",
help = "The name or path of the JavaScript runtime to use for generating parsers"
)]
pub js_runtime: Option<String>,
}