Skip to content

ocamlformat: depend on config files in _build#2471

Merged
aalekseyev merged 4 commits intoocaml:masterfrom
nojb:fix_ocamlformat_deps
Jul 30, 2019
Merged

ocamlformat: depend on config files in _build#2471
aalekseyev merged 4 commits intoocaml:masterfrom
nojb:fix_ocamlformat_deps

Conversation

@nojb
Copy link
Copy Markdown
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.

Signed-off-by: Nicolás Ojeda Bär <n.oje.bar@gmail.com>
@nojb nojb requested a review from emillon as a code owner July 29, 2019 13:47
Signed-off-by: Nicolás Ojeda Bär <n.oje.bar@gmail.com>
@nojb
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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