Ticket #682 (new enhancement)

Opened 3 years ago

Last modified 15 months ago

'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

Changed 15 months ago by kosmikus

  • milestone set to cabal-install-0.16
Note: See TracTickets for help on using tickets.