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

Misses mdx dependencies entailed by (using mdx l.m) stanzas #24

Open
shonfeder opened this issue Feb 6, 2021 · 1 comment
Open

Misses mdx dependencies entailed by (using mdx l.m) stanzas #24

shonfeder opened this issue Feb 6, 2021 · 1 comment

Comments

@shonfeder
Copy link

Dune has built-in support for mdx, but the stanzas don't require the usual libraries clause. As a result of this edge case, I assume, opam-dune-lint doesn't detect this dependency.

To reproduce, create a project that uses the mdx stanza, and run ocaml-opam-lint on it.

@talex5
Copy link
Contributor

talex5 commented Feb 7, 2021

opam-dune-lint uses dune external-lib-deps @runtest to get the dependencies. If the project's tests depend on mdx but dune doesn't list it there, then that sounds like a bug in dune.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants