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 possibility to run a script before v2-sdist #6664

Closed
phadej opened this issue Apr 6, 2020 · 3 comments
Closed

Add a possibility to run a script before v2-sdist #6664

phadej opened this issue Apr 6, 2020 · 3 comments

Comments

@phadej
Copy link
Collaborator

phadej commented Apr 6, 2020

That script could be used to automatically run autoreconf -i, or something more fancy like in #6180

The main motivation is to ease the conflict between not checking in autogenerated files, and allowing to use source-repository-package (which doesn't sdist now, but could). We need a way to do some preparation tasks. Both autoreconf -i and generating VCS manifest can be done in such way that cabal get package and then cabal v2-sdist would still produce the same file.

@phadej
Copy link
Collaborator Author

phadej commented Oct 21, 2020

there is now.

@phadej phadej closed this as completed Oct 21, 2020
@hasufell
Copy link
Member

there is now.

where?

@phadej
Copy link
Collaborator Author

phadej commented Jul 14, 2022

there is now.

where?

https://cabal.readthedocs.io/en/3.6/cabal-project.html?highlight=%22source-repository-package%22#cfg-field-post-checkout-command

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

2 participants