Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers On branch : master
http://hackage.haskell.org/trac/ghc/changeset/1b1f96333480e0c77b5b043ec543df771dca3c43 >--------------------------------------------------------------- commit 1b1f96333480e0c77b5b043ec543df771dca3c43 Author: Johan Tibell <[email protected]> Date: Sun Nov 20 22:19:01 2011 -0800 Build map-properties using Cabal >--------------------------------------------------------------- containers.cabal | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/containers.cabal b/containers.cabal index ada6e5f..8df6f4d 100644 --- a/containers.cabal +++ b/containers.cabal @@ -12,13 +12,16 @@ description: each operation is either worst-case or amortized, but remains valid even if structures are shared. build-type: Simple -cabal-version: >=1.6 +cabal-version: >=1.8 extra-source-files: include/Typeable.h source-repository head type: git location: http://github.com/haskell/containers.git +flag testing + description: Expose internals for testing (required for cabal test) + Library build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.3 ghc-options: -O2 @@ -46,4 +49,20 @@ Library if impl(ghc) extensions: DeriveDataTypeable, StandaloneDeriving, MagicHash, Rank2Types + if flag(testing) + cpp-options: -DTESTING + build-depends: QuickCheck + +Test-suite map-properties + hs-source-dirs: tests + main-is: map-properties.hs + type: exitcode-stdio-1.0 + build-depends: + base, + containers, + HUnit, + QuickCheck, + test-framework, + test-framework-hunit, + test-framework-quickcheck2 _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
