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

Put bsb-native on opam #41

Open
bsansouci opened this issue Feb 2, 2018 · 0 comments
Open

Put bsb-native on opam #41

bsansouci opened this issue Feb 2, 2018 · 0 comments

Comments

@bsansouci
Copy link
Owner

bsansouci commented Feb 2, 2018

This is a pretty important thing for folks who want to use bsb-native and would like opam users to use their libraries.
I think right now you can't publish a project to opam using bsb-native because you wouldn't be able to build.

Here seem to be what needs to be done.

  • figure out the correct META, bsbnative.install and opam files

For JS compilation

  • figure out how to "install" the stdlib (everything under lib that isn't an executable)
  • figure out how to get the path to the installed stdlib inside bsb-native

For native compilation

  • figure out how to make bsb-native always call ocamlfind ocaml[c|opt] instead of using the vendor ocaml, and make bsb-native depend on 4.02.3+buckle-master.

For the last bullet point, fear not, I'll make another version bsb-native that supports 4.06.

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

No branches or pull requests

1 participant