-
Notifications
You must be signed in to change notification settings - Fork 696
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
Command to build an sdist #9025
Comments
iirc you can install tarballs with |
Discussed a bit on IRC, but I interpret |
Note that the command line help says that you can do I'd also stay clear of cabal install. Question: how do would you expect it to work? Should it be build like a local parkage? (Where is the build directory then?) or like a configured package (like extra-packages in cabal.project)? |
I remembered but not quite correctly. #7328 talks about specifying a source directory not a source tarball. |
IIRC, the idea would be to do what |
I mean like a named package can be listed in |
At the moment it's not that easy to build a generated sdist. You can unpack it yourself and build it from there, but it would be nice to have a one-command way to do this.
This is useful to catch issues like missing
extra-source-files
, which seems to be quite common (and just bit me!).I would be happy with:
cabal build <sdist path>
, ideally working for any such cabal command, includinghaddock
cabal sdist --build
Related:
sdist
#1141cabal sdist
(and all-in-one updist workflow) #5064The text was updated successfully, but these errors were encountered: