Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/2e3481262f7f05b188f2cbe9684de336d30b6369

>---------------------------------------------------------------

commit 2e3481262f7f05b188f2cbe9684de336d30b6369
Author: intractable <[email protected]>
Date:   Thu May 5 01:41:44 2011 +0000

    intrapackage-deps-and-per-component-preprocessing
    This patch adds intrapackage dependency resolution so that components
    (libraries, exes, test suites) are build in the correct order.  This mean 
it's
    now possible to have, e.g., executables that depend on other executables 
defined
    in the same package description: the build-tools namespace has been extended
    accordingly.
    
    Related to this change is the refactoring of the do-it-all preprocessSources
    function, formerly invoked by initialBuildSteps, into a a function
    preprocessComponent that is invoked when a component is being built.  This 
lets
    us use executables defined in a package to be used as a custom preprocessor 
when
    building other components.
    
    Finally, a number of functions now operate on values of the sum type
    PackageDescription.Component rather than specifically operating on Library 
or
    Executable and so forth.

 Distribution/PackageDescription.hs    |   51 +++++++--
 Distribution/Simple/Build.hs          |  183 ++++++++++++++++-----------------
 Distribution/Simple/Configure.hs      |   46 +++++++--
 Distribution/Simple/Haddock.hs        |   84 ++++++++-------
 Distribution/Simple/LocalBuildInfo.hs |   33 ++++++-
 Distribution/Simple/PreProcess.hs     |  130 ++++++++++++------------
 Distribution/Simple/Program/Types.hs  |   18 +++-
 Distribution/Simple/SrcDist.hs        |   15 ++-
 Distribution/Simple/Utils.hs          |    1 +
 tests/suite.hs                        |    3 +-
 10 files changed, 339 insertions(+), 225 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 2e3481262f7f05b188f2cbe9684de336d30b6369

_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to