Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dune describe should show a decent amount of information even on a project which doesn't build #10504

Open
Khady opened this issue May 10, 2024 · 0 comments
Labels

Comments

@Khady
Copy link
Contributor

Khady commented May 10, 2024

Desired Behavior

So far except by parsing all dune related files by hand, the only way to get some information about a project seems to be dune describe. Unfortunately as soon as the project contains a piece of code which doesn't compile we don't get any information anymore. Given the architecture of dune it's expected that some things like the whole build graph can't be returned in that case, but there are many information that should still be available. And even the in a broken project returning at least the info about what leads to the error would be useful.

Example

Any project with either an error in an ocaml file or an opam dependency which isn't installed

@rgrinberg rgrinberg added the bug label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants