-
Notifications
You must be signed in to change notification settings - Fork 6
howto: migrate rescript lib #111
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice guide, thanks!
|
||
These are the steps to follow: | ||
|
||
- Add an `opam` file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is redundant if the dune-project files generates opam files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, but users might not have dune
available on the global switch. I always run into this "chicken and egg" problem when using local switches, so I think it's simpler to create the opam
file first, then the local switch, then proceed with Dune config. Wdyt?
Co-authored-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Fixes #105.
Preview.