Skip to content

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