feat(dsl)!: support other JS runtimes
This commit is contained in:
parent
d77279d2e3
commit
055d0cbd34
7 changed files with 72 additions and 31 deletions
|
|
@ -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>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue