cvs commit: fptools/libraries/Cabal/Distribution PackageDescription.hs Simple.hs

Isaac Jones ijones at haskell.org
Sun Jan 30 21:48:47 EST 2005


ijones      2005/01/30 18:48:47 PST

  Modified files:
    libraries/Cabal/Distribution PackageDescription.hs Simple.hs 
  Log:
  INTERFACE CHANGES! rework of cabal hooks. much of this is from Krasimir
  
  User hooks look like this now:
       preConf  :: Args -> ConfigFlags -> IO HookedBuildInfo,
       postConf :: IO ExitCode,
  
  type HookedBuildInfo = (Maybe BuildInfo, [(String, BuildInfo)])
  
  this means that only stuff in BuildInfo can be overridden.  A
  buildinfo file now looks like this:
  
  name: libraryname
  include-dirs: /foo/bar, /bang/baz
  extensions: CPP
  
  executable: executablename
  extensions: TemplateHaskell
  
  Revision  Changes    Path
  1.28      +81 -81    fptools/libraries/Cabal/Distribution/PackageDescription.hs
  1.38      +18 -22    fptools/libraries/Cabal/Distribution/Simple.hs


More information about the Cvs-libraries mailing list