Warning about missing modules in 'other-modules'
daniel.trstenjak at gmail.com
Sun Jan 5 10:37:23 UTC 2014
I now at least twice ran into the issue, that I forgot to add a module
to the 'other-modules' section of the cabal file and uploaded a non
buildable package to hackage.
It would be nice if 'cabal sdist' or 'cabal upload' would warn the user
about missing modules.
I just tried 'cabal upload -c', but I'm getting:
$ cabal upload -c dist/hsimport-0.2.6.2.tar.gz
Error: dist/hsimport-0.2.6.2.tar.gz: 404 Not Found
Error: Page not found
Sorry, it's just not here.
$ cabal --version
cabal-install version 220.127.116.11
using version 1.18.1 of the Cabal library
It seems that currently the best way to guarantee a buildable package is
to build the tarbar with 'cabal sdist' and then install this tarball
with 'cabal install', right?
More information about the cabal-devel