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

Generate opam .install file. #68

Open
rgrinberg opened this issue Dec 1, 2016 · 0 comments
Open

Generate opam .install file. #68

rgrinberg opened this issue Dec 1, 2016 · 0 comments

Comments

@rgrinberg
Copy link
Collaborator

omake would be more opam friendly if it could generate an "install" file for opam to do the actual installation. The .install file should describe all the artifacts (binaries, libraries, documentation) that omake would like to install. Here's an example (taken from the 0install package):

bin: [
  "dist/files/0install"
  "dist/files/0install" {"0launch"}
  "dist/files/0install" {"0store"}
  "dist/files/0install" {"0store-secure-add"}
  "dist/files/0install" {"0desktop"}
  "dist/files/0install" {"0alias"}
]
lib: [
  "?dist/files/gui_gtk.cmxs"
  "?dist/files/gui_gtk.cma"
]
man: [
  "0launch.1" {"man1/0launch.1"}
  "0store-secure-add.1" {"man1/0store-secure-add.1"}
  "0store.1" {"man1/0store.1"}
  "0desktop.1" {"man1/0desktop.1"}
  "0install.1" {"man1/0install.1"}
]

(The ? prefix means that the artifact is optional)

https://opam.ocaml.org/doc/manual/dev-manual.html

Section 2.2.3 for the full doc of the format.

@gerdstolpmann if you don't have time for this, I'd be happy to work on this myself given a few pointers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants