Remove Setup.hs, use Setup.lhs only

Ross Paterson ross at soi.city.ac.uk
Wed Nov 22 05:38:48 EST 2006


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



More information about the cabal-devel mailing list