patch applied (cabal-branches/cabal-1.10): Auto-reconfiguration
when .cabal is newer than setup-config
Duncan Coutts
duncan.coutts at googlemail.com
Mon Oct 18 17:54:14 EDT 2010
Wed Aug 25 06:11:06 PDT 2010 Dmitry Astapov <dastapov at gmail.com>
* Auto-reconfiguration when .cabal is newer than setup-config
This patch adds "ConfigFlags" to the "LocalBuildInfo" and reuses them to
perform "configureAction" when .cabal file is changed. This has
the same effect as re-running "configure" with the most recent used
set of options, which should be the sensible thing to do.
Closes #294, #477, #309 and #518.
M ./Distribution/PackageDescription.hs -1 +1
M ./Distribution/Simple.hs -26 +48
M ./Distribution/Simple/Configure.hs -5 +6
M ./Distribution/Simple/LocalBuildInfo.hs +8
M ./Distribution/Simple/Setup.hs -2 +2
M ./Distribution/Verbosity.hs -1 +1
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal-branches/cabal-1.10;a=darcs_commitdiff;h=20100825131106-5701e-cb02bcc253e63b0f71069b7123c46d7133856276.gz
More information about the cabal-devel
mailing list