elixir-lang / tree-sitter-elixir

Elixir grammar for tree-sitter
https://elixir-lang.org/tree-sitter-elixir
Apache License 2.0
245 stars 24 forks source link

Fix rust binding build script #59

Closed the-mikedavis closed 1 year ago

the-mikedavis commented 1 year ago

Closes #58

It looks like #56 mistakenly removed cc::Build::compile. I also added a rerun-if-changed for the parser so that changes to the grammar would cause cargo to recompile the parser.

Also see the tree-sitter-rust builder: https://github.com/tree-sitter/tree-sitter-rust/blob/master/bindings/rust/build.rs.