You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running bazel-lsp --version returns version 0.0.0 even though version 0.6.0 was downloaded via GitHub. In addition, running bazel run //:bazel-lsp -c opt -- --version returns the same
According to the clap docs it should automatically get this from the Cargo.toml, but I guess that isn't working properly, maybe because we're using Bazel rather than cargo. Will investigate further when I'm at my PC.
This uses a genrule to read the Cargo.toml and set `CARGO_PKG_VERSION`. This is picked up by clap to set the version when asked via `--version`.
Fixes#39
running
bazel-lsp --version
returns version 0.0.0 even though version 0.6.0 was downloaded via GitHub. In addition, runningbazel run //:bazel-lsp -c opt -- --version
returns the sameThis behaviour was observed on
v0.6.0
andmaster
branch at commit ID92644f21aca7cfbba332c67ac1aa9cf43765e021
The text was updated successfully, but these errors were encountered: