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

Add a way to add a command to the build/install steps of a binary package #31

Open
lefessan opened this issue Oct 24, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@lefessan
Copy link
Member

Currently, binary packages only install files. Sometimes, it would be useful to be able to execute a command, for example for conf-XXX packages that could still want to check if the external dep is present and fail otherwise.

It would be interesting to find a way to do that.
It should be done in three places:

  • define a way for the relocation patch or the package to define these commands (opam-bin-run.sh maybe ?)
  • add it to the generated opam file for the binary package and save it somewhere
  • also call it when using a cached binary package instead of a source package
@lefessan lefessan added the enhancement New feature or request label Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant