refactor!: add Makefile rule for formatting using ocamlformat#407
refactor!: add Makefile rule for formatting using ocamlformat#407EmileRolley wants to merge 2 commits intoocaml-sf:masterfrom
Conversation
21578d4 to
a32d47c
Compare
15dd6ab to
a26f3d4
Compare
|
I think ocamlformat is fine for new projects, but in this case I wonder if it is worth it to break all of the git history (by which I mean |
|
Agree with @AltGr; moreover, merging this otherwise, ideally (but I don't know if this is possible), |
Since git and |
I think for this point, updating the PR branch from the master one and then run |
e8fc918 to
86dbad7
Compare
86dbad7 to
98edf04
Compare
How should we do this? IINM, either |
|
You are certainly right... What about installing |
|
Sorry, forgot to reply earlier in this thread after we discussed this a bit with @yurug last month 😅 Trying to sum up the ideas:
as a result, I'll mark this PR in draft mode now, so we don't accidentally merge it. |
|
Hi @erikmd,
No problem :)
I don't really get how waiting will make easier the transition? Indeed, there will always be one open PR that will delay it, no? |
|
Hi @EmileRolley,
Sure! But it happens there are quite a few PRs open now, and most of them are not "small"… (admittedly, it's better if PRs are small! to ease review and so on; so, maybe, better next time ;-) |
In order to have a consistent formatted source code, this PR adds a Makefile rule
formatcallingocamlformat.0.8and provides a minimal.ocamlformatfile (which is not meant to be definitive at all).