[Haskell-cafe] Re: a cabal/database lib experience
Ketil Malde
Ketil.Malde at bccs.uib.no
Tue Dec 12 08:42:08 EST 2006
Simon Marlow wrote:
>>
>> + add a dedicated command "cabal", which does nothing more
>> than "runhaskell Setup", but is more memorable and suggestive
>
> cabal-setup does this, but wasn't included with the latest release of
> Cabal. It should be in the next one, I hope. The plan is to
> deprecate 'runhaskell Setup.lhs' in favour of 'cabal-setup'.
I'm possibly using cabal in a simplistic way, but I generally do either
./Setup.lhs configure -p
./Setup.lhs build
./Setup.lhs install
or
./Setup.lhs configure -p --prefix=$HOME --user
./Setup.lhs build
./Setup.lhs install --user #perhaps not needed anymore?
This is a lot of typing, and at least once I wrote a Makefile to
automate it (oh, the irony of it!)
Anyway, it would be nice if a 'cabal' command automated the whole
sequence in one go,
at least as an option.
-k
More information about the Haskell-Cafe
mailing list