Ticket #682 (new enhancement)
'cabal init' should try to set 'main-is' for executables
| Reported by: | duncan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | cabal-install-0.16 |
| Component: | cabal-install tool | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | unknown | |
| GHC Version: | Platform: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
