[Hackage] #682: 'cabal init' should try to set 'main-is' for
executables
Hackage
cvs-ghc at haskell.org
Wed May 5 12:03:29 EDT 2010
#682: 'cabal init' should try to set 'main-is' for executables
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version:
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: |
---------------------------------+------------------------------------------
Currently, `cabal init` will find modules and add them to the `exposed-
modules` of a library. It should try to do something similar for
executables. The `main-is` field is required for executables and any
`other-modules` also need to be listed.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/682>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list