supabase-community / postgres_lsp

A Language Server for Postgres
https://supabase.com
MIT License
3.23k stars 61 forks source link

cargo xtask install command is not working #139

Open timurzdev opened 1 month ago

timurzdev commented 1 month ago

Bug report

Describe the bug

cargo xtask install command is not working properly

To Reproduce

follow readme to install with cargo

➜  postgres_lsp git:(main) cargo xtask install
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
     Running `target/debug/xtask install`
$ cargo install --path crates/postgres_lsp --locked --force
error: `/Users/tmogus/Desktop/code/postgres_lsp/crates/postgres_lsp` is not a directory. --path must point to a directory containing a Cargo.toml file.
Error: install server

Caused by:
    command exited with non-zero code `cargo install --path crates/postgres_lsp --locked --force`: 101

Expected behavior

successful installation

System information

macOS 14.5 23F79 arm64

Additional context

crates/postgres_lsp doesn't exists,

cargo install --path crates/pg_lsp --locked --force worked well

psteinroe commented 1 month ago

hey! Thanks for opening the issue. It's because of a recent refactor where the lsp crate now has a different name.

I am currently working on a few improvements to the core logic to make it ready for an alpha release. Will look into xtask and the release process once that's done 🙏🏼

ngynkvn commented 2 weeks ago

Hi! I'm interested in contributing to this LSP, so looking forward to the alpha release :). For the time being, I was able to unblock myself here by following these steps: