DerekStride / tree-sitter-sql

SQL grammar for tree-sitter
http://derek.stride.host/tree-sitter-sql/
MIT License
160 stars 54 forks source link

Cargo.toml missing on gh-pages branch #241

Closed maciek134 closed 8 months ago

maciek134 commented 8 months ago

Hey, thanks for working on this!

Since you don't publish the parser on crates.io I wanted to use a git link to use it in a Rust project, but the gh-pages branch doesn't contain Cargo.toml resulting in an error during building:

error: failed to get `tree-sitter-sql` as a dependency of package `snip`

Caused by:
  failed to load source for dependency `tree-sitter-sql`

Caused by:
  Unable to update https://github.com/DerekStride/tree-sitter-sql.git?branch=gh-pages

Caused by:
  Could not find Cargo.toml in `~/.cargo/git/checkouts/tree-sitter-sql-4edcb56b7fb1716a/da2d1ef`

Are you open to adding it? Or maybe even publishing the parser on crates.io?

DerekStride commented 8 months ago

Should be fixed in #242. @matthias-Q suggested we also publish to crates.io, would that be better than using the git ref?

matthias-Q commented 8 months ago

@DerekStride looks like the gh-publish Action did not run successfully

https://github.com/DerekStride/tree-sitter-sql/actions/runs/8244912806

DerekStride commented 8 months ago

Opps, Fix up in #243