-
Notifications
You must be signed in to change notification settings - Fork 710
cabal upload behaves incorrect with -d flag #10227
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
Comments
It looks like you made some progress? Do you want to close this ticket? |
From what I understood - I think it's still a bug. |
Please, don't do any Also, there's no need to specify |
Ohhh ... so this is what I was missing ! $ cabal haddock --haddock-for-hackage --haddock-option=--hyperlinked-source
# < ... omitted for brevity ... >
Documentation tarball created:
C:\Users\tuna_\GitHub\dhscanner.ast\dist-newstyle\dhscanner-ast-0.1.0.1-docs.tar.gz
$ cabal upload --publish C:\Users\tuna_\GitHub\dhscanner.ast\dist-newstyle\sdist\dhscanner-ast-0.1.0.0.tar.gz # the package comes *before* the documentation
$ cabal upload --publish -d C:\Users\tuna_\GitHub\dhscanner.ast\dist-newstyle\dhscanner-ast-0.1.0.0-docs.tar.gz @ulysses4ever - should I answer my own question in SO ? or simply point to this thread ? |
Great! It would be great if you could add the answer on SO, yes: it'll be much more discoverable that way, I think. Hopefully, future cabal users will benefit from it. Happy hacking! |
The bug details are describe in this stack overflow question.
cabal upload
fails with-d
flag, butcabal haddock
works fine.without the
-d
flag, it also works fine.The text was updated successfully, but these errors were encountered: