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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to