Skip to content

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

Merged
merged 8 commits into from
Sep 4, 2023
Merged

howto: migrate rescript lib #111

merged 8 commits into from
Sep 4, 2023

Conversation

jchavarri
Copy link
Member

@jchavarri jchavarri commented Sep 1, 2023

Fixes #105.

Preview.

Copy link
Member

@anmonteiro anmonteiro left a 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
Copy link
Member

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

Copy link
Member Author

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?

@jchavarri jchavarri merged commit 3031fa4 into master Sep 4, 2023
@jchavarri jchavarri deleted the howto-migrate-rescript-lib branch September 4, 2023 07:43
jchavarri added a commit that referenced this pull request Sep 4, 2023
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.

Adding a section for: "Migrating a BuckleScript library to Melange"
2 participants