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

ocamlformat: depend on config files in _build #2471

Merged
merged 4 commits into from
Jul 30, 2019

Conversation

nojb
Copy link
Collaborator

@nojb nojb commented Jul 29, 2019

Fixes #2464. The bug was present before #2404, but hidden by the use of the --name option to ocamlformat.

@nojb nojb requested a review from emillon as a code owner July 29, 2019 13:47
@nojb
Copy link
Collaborator Author

nojb commented Jul 29, 2019

I added a second (unrelated) commit that registers the dependency on the .ocamlformat-enable files.

@aalekseyev
Copy link
Collaborator

This also fixes an assertion failure when running with e.g. DUNE_SANDBOX=copy, which is great.

@aalekseyev aalekseyev merged commit dcccb59 into ocaml:master Jul 30, 2019
@nojb
Copy link
Collaborator Author

nojb commented Jul 30, 2019

Thanks!

rgrinberg added a commit to rgrinberg/opam-repository that referenced this pull request Aug 9, 2019
CHANGES:

- Fix config file dependencies of ocamlformat (ocaml/dune#2471, fixes ocaml/dune#2646,
  @nojb)

- Cleanup stale directories when using `(source_tree ...)` in the
  presence of directories with only sub-directories and no files
  (ocaml/dune#2514, fixes ocaml/dune#2499, @diml)
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

Successfully merging this pull request may close these issues.

Missing deps when building @fmt ?
2 participants