cvs commit: fptools/libraries/Cabal/Distribution PackageDescription.hs ParseUtils.hs Simple.hs fptools/libraries/Cabal/tests/A A.cabal

Isaac Jones ijones at syntaxpolice.org
Sun Dec 4 21:05:19 EST 2005


ijones      2005/12/04 18:05:18 PST

  Modified files:
    libraries/Cabal/Distribution PackageDescription.hs 
                                 ParseUtils.hs Simple.hs 
    libraries/Cabal/tests/A A.cabal 
  Log:
    * adding cabal-version flag
    * check for correct cabal version during parsing
  
    I throw a parse error if this package has the wrong cabal version.
    This is so that the user can get this error before getting an error
    for eg. an unknown field.  Also check it in the sanity checker.
  
    I just hard-code the cabal version in the source, it would be nicer if
    we got it from the .cabal file.  cabal could include the version in
    the cpp flags, but cabal's setup file needs to build without cabal, so
    that wouldn't actually work for us ahem.
  
  Revision  Changes    Path
  1.66      +24 -5     fptools/libraries/Cabal/Distribution/PackageDescription.hs
  1.25      +1 -1      fptools/libraries/Cabal/Distribution/ParseUtils.hs
  1.90      +2 -3      fptools/libraries/Cabal/Distribution/Simple.hs
  1.6       +1 -0      fptools/libraries/Cabal/tests/A/A.cabal


More information about the Cvs-libraries mailing list