Add ocamlformat back to oeedger8r#2296
Conversation
|
bors try |
83047c6 to
79534de
Compare
|
@anakrish Sorry, actually can't do it as part of the CMake build because we copy files into the build tree, and it doesn't make sense to format copied files. But mostly I've been using |
|
bors try |
tryAlready running a review |
tryBuild failed |
79534de to
654ce50
Compare
|
bors try |
tryBuild succeeded |
654ce50 to
1bf6832
Compare
The next latest version fixed the symlink issue in the package, which allows this to be installed on Windows. Note that the syntax ~0.12.0 does not work because the published package is no longer using semver, they dropped the trailing .0 and published with 0.12. Signed-off-by: Andrew Schwartzmeyer <andrew@schwartzmeyer.com>
This is the last time we're doing this for a while, I swear. We couldn't stick to 0.11 because of issues installing it on Windows, and 0.12 surprisingly changes a lot more formatting than expected. Signed-off-by: Andrew Schwartzmeyer <andrew@schwartzmeyer.com>
Signed-off-by: Andrew Schwartzmeyer <andrew@schwartzmeyer.com>
1bf6832 to
930c129
Compare
|
bors r+ |
2296: Add ocamlformat back to oeedger8r r=andschwa a=andschwa PR ocaml-ppx/ocamlformat#980 fixed the ocamlformat package to install on Windows, and the fix is in the latest release 0.12. This means that we can add it back, and make running ocamlformat part of the build, but it also requires auto-formatting the edger8r code again. Co-authored-by: Andrew Schwartzmeyer <andrew@schwartzmeyer.com>
CodeMonkeyLeet
left a comment
There was a problem hiding this comment.
This change seems fine but there's a lot of new packages being pulled into the repo as a result of it. Can you write up some instructions around the maintenance of the OPAM to go with it? Is it necessary for the OPAMs to be committed or is there a build time process to pull them down?
|
@CodeMonkeyLeet There's really no "packages" being pulled in. The |
Build succeeded |
PR ocaml-ppx/ocamlformat#980 fixed the ocamlformat package to install on Windows, and the fix is in the latest release 0.12. This means that we can add it back, and make running ocamlformat part of the build, but it also requires auto-formatting the edger8r code again.