patch applied (cabal-install): Refactor BuildResult type and
duncan.coutts at worc.ox.ac.uk
Wed Aug 6 14:01:23 EDT 2008
Tue Aug 5 10:36:32 PDT 2008 Duncan Coutts <duncan at haskell.org>
* Refactor BuildResult type and related types
Split BuildResult into Either BuildFailure BuildSuccess
Make BuildSuccess contain info for docs and tests.
Make PlanPackage use BuildSuccess and BuildFailure directly
rather than being parameterised by any build result type.
This has a knock on effect on lots of other types which
were parameterised just because PlanPackage was.
M ./Distribution/Client/Dependency.hs -5 +5
M ./Distribution/Client/Dependency/Bogus.hs -1 +1
M ./Distribution/Client/Dependency/Naive.hs -1 +1
M ./Distribution/Client/Dependency/TopDown.hs -5 +5
M ./Distribution/Client/Dependency/Types.hs -8 +8
M ./Distribution/Client/Install.hs -27 +33
M ./Distribution/Client/InstallPlan.hs -48 +49
M ./Distribution/Client/InstallSymlink.hs -5 +4
M ./Distribution/Client/Logging.hs -17 +30
M ./Distribution/Client/Reporting.hs -16 +29
M ./Distribution/Client/Types.hs -6 +10
View patch online:
More information about the cabal-devel