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

Upgrade and clean up legacy code #240

Closed

Conversation

kit-ty-kate
Copy link
Collaborator

This PR cleans up several things:

  • Removes direct dependencies to result and ocaml-migrate-parsetree. Both were unused.
  • Upgrade from ounit to the ounit2 package
  • Upgrade to dune 2.7 (which will generate the opam file for us)
  • Enable standard dune warnings (+ -w -9 otherwise it would have taken me days to do this). This allowed me to detect several unused code (notably in the tests), variables and open.

(depends
(ocaml (>= 4.05))
(cppo :build)
ppx_derivers
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can remove ppx_derivers safely, since it's unnecessary for the ppxlib-port: ocaml-ppx/ppx_derivers#6

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I sent a separate PR for this then: #244

@kit-ty-kate
Copy link
Collaborator Author

Superseded by #246

@kit-ty-kate kit-ty-kate deleted the upgrade-and-clean-up-legacy branch November 25, 2020 12:42
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.

2 participants