#294: Setup build should call Setup configure, if necessary
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version:
Severity: minor | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: |
----------------------------+-----------------------------------------------
If you change the Cabal description file of your project, you need to
reconfigure it by calling ''Setup.lhs config'' (assuming that your Setup
program is called ''Setup.lhs''). Since most editors don't know anything
about Cabal, that requires you to have a shell open and type the command
in question manually, which can get quite annoying, if you reconfigure
often.
''Setup.lhs build'' recognizes the case, when the configuration has
changed and dies with an error. It would be very useful, if it would call
the ''configure'' command automatically instead, for example with the last
used flags, or with a default set of flags configured in the description
file.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/294>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel