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

Locally enable ocamlformat #1587

Closed
wants to merge 3 commits into from

Conversation

voodoos
Copy link
Collaborator

@voodoos voodoos commented Mar 29, 2023

This PR add an ocamlformat configuration file and an empty .ocamlformat-enable.

The idea is to progressively format more and more files. When merging PR all changed file should be added to the .ocamlformat-enable file and formatted.

@voodoos
Copy link
Collaborator Author

voodoos commented Mar 30, 2023

Status: investigating the CI issue

  • OCaml-CI doesn't install project deps before running dune build @fmt
  • In Merlin this command does trigger the generation of some files that break because of unmet dependencies

@voodoos
Copy link
Collaborator Author

voodoos commented Mar 30, 2023

Found the CI problem. Opened a Dune issue: ocaml/dune#7454

@voodoos voodoos closed this Sep 26, 2024
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.

1 participant