
#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