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

Lint {build} deps more gracefully #85

Open
pqwy opened this issue Nov 5, 2016 · 1 comment
Open

Lint {build} deps more gracefully #85

pqwy opened this issue Nov 5, 2016 · 1 comment

Comments

@pqwy
Copy link
Contributor

pqwy commented Nov 5, 2016

Presently, topkg knows that

let lint_deps_default_excludes =
  let exclude = ["ocamlfind"; "ocamlbuild"; "topkg"] in

can be mentioned in opam but not in _tags, so every additional build tool needs this choreography:

let opams = [Pkg.opam_file ~lint_deps_excluding:(Some [tool]) "opam"]

Removing all of the deps marked as {build} in opam from the intersection test with _tags would help.

@dbuenzli
Copy link
Owner

dbuenzli commented Mar 6, 2017

I wanted to solve this for the next release, but actually accessing the information is more involved than I thought. So I'm removing the next label as I want to release. @AltGr did however promise me to help me...

@dbuenzli dbuenzli removed the next label Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants