Cabal cheers and some feature requests
ben.franksen at online.de
Wed Jul 2 19:26:49 EDT 2008
Duncan Coutts wrote:
> On Wed, 2008-07-02 at 17:02 +0200, Benjamin Franksen wrote:
> Remember the best place for feature requests is in the hackage trac:
> commenting on a ticket and adding yourself to the 'cc' list counts as a
> vote for the ticket. It really helps us to prioritise development work.
>> One feature I think would be uncontroversial is for cabal install to try
>> to build haddock API docs and hscolour'ed sources. Momentarily, I still
>> have to download (or darcs get) the package, unpack and cd into it, and
>> then do
>> cabal configure
>> cabal hscolour
>> cabal haddock
>> cabal install --prefix=my_prefix
>> to have the docs installed, too.
>> Maybe add switches --with-haddock and --with-hscolour to cabal install
> Currently the #1 most commonly requested feature.
> Please comment on the ticket. It's not clear exactly how this feature
> should work, ie how to specify the flags. Implementing this should be
> trivial once we've agreed how the interaction will work.
I'll be a good boy and do that ;)
>> (BTW: what is the trick to get the "source" links into the haddock docs?
>> I remember there was one package I installed where this worked out of the
>> box but I can't find it at the moment.)
> See $ cabal haddock --help
> --hyperlink-source Hyperlink the documentation to the source code
> (using HsColour)
Oh, how simple. And how --ahem-- trivial to find out.
>> Another wish on my list is to be able to set defaults for cabal options
>> in my $(HOME)/.cabal/config.
> Currently you can do this for a subset of the flags (like prefix,
> profiling) and we do intend to extend it to the full set.
More information about the Libraries