On Wed, Nov 22, 2006 at 01:36:13AM +0000, Duncan Coutts wrote:
> Note that in future we intend to allow there being no Setup.(l)hs at all
> when using cabal-setup. No Setup.(l)hs file would be equivalent to the
> basic one that uses defaultMain.

Could we have an optional field in the package description to tell
cabal-setup which setup to use?  There could be tokens representing

        main = Distribution.Simple.defaultMain
        main = Distribution.Simple.defaultMainWithHooks defaultUserHooks
        main = Distribution.Make.defaultMain
        user-supplied Setup.[l]hs

_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to