--- zlib-enum.cabal.orig 2017-07-09 15:22:07 UTC +++ zlib-enum.cabal @@ -14,40 +14,14 @@ build-type: Simple homepage: http://github.com/maltem/zlib-enum ------------------------------------------------------------------------------- -flag test - description: Build the test executable. - default: False - -------------------------------------------------------------------------------- library - if flag(test) - Buildable: False build-depends: base >= 4 && < 5 , bytestring >= 0.9 && < 0.11 - , transformers >= 0.2 && < 0.5 + , transformers >= 0.2 && < 0.6 , enumerator == 0.4.* , zlib-bindings == 0.1.* exposed-modules: Codec.Zlib.Enum ghc-options: -Wall - -------------------------------------------------------------------------------- -executable zlib-enum-test - main-is: test.hs - if flag(test) - Buildable: True - build-depends: - base >= 4.0 && < 5.0 - , bytestring >= 0.9 && < 0.11 - , transformers >= 0.2 && < 0.5 - , enumerator >= 0.4 && < 0.5 - , zlib-bindings >= 0.1 - , test-framework >= 0.6 && < 0.7 - , test-framework-quickcheck2 >= 0.2.12.1 && < 0.3.0 - , QuickCheck >= 2.4 && < 2.5 - else - Buildable: False - ghc-options: -Wall - ------------------------------------------------------------------------------- source-repository head type: git