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

Do not promote install files by default #2303

Merged
2 commits merged into from Jun 20, 2019
Merged

Do not promote install files by default #2303

2 commits merged into from Jun 20, 2019

Conversation

ghost
Copy link

@ghost ghost commented Jun 20, 2019

They are only useful for opam builds and they are annoying for development. This PR proposes to only promote them to the source tree when --promote-install-files is passed on the command line. -p implies --promote-install-files. This should go in Dune 2.0.0 only.

@ghost ghost requested review from emillon and rgrinberg as code owners June 20, 2019 12:44
@ghost ghost added this to the 2.0.0 milestone Jun 20, 2019
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
@ghost
Copy link
Author

ghost commented Jun 20, 2019

I added a boolean Wp.dune2 that is currently false so that we can start merging such PRs. Once we switch master to dune2, we can just delete src/wp and inline it everywhere.

@ghost ghost merged commit 2fa3af0 into ocaml:master Jun 20, 2019
@avsm
Copy link
Member

avsm commented Jun 27, 2019

This seems to have broken opam pin with dune dev -- see #2329

This pull request was closed.
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.

3 participants