packages feed

quickpull-0.4.2.2: quickpull.cabal

-- This Cabal file generated using the Cartel library.
-- Cartel is available at:
-- http://www.github.com/massysett/cartel
--
-- Script name used to generate: genCabal.hs
-- Generated on: 2015-03-19 23:39:15.408335 EDT
-- Cartel library version: 0.10.0.2
name: quickpull
version: 0.4.2.2
cabal-version: >= 1.14
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: Copyright 2014 Omari Norman
author: Omari Norman, omari@smileystation.com
maintainer: omari@smileystation.com
stability: Experimental
homepage: http://www.github.com/massysett/quickpull
bug-reports: http://www.github.com/massysett/quickpull/issues
synopsis: Generate Main module with QuickCheck tests
description:
  Reads a tree of modules and outputs a module to run all
  QuickCheck tests.
  For more information, please see documentation in the
  "Quickpull" module.
category: Testing
extra-source-files:
    genCabal.hs
  , README.md
  , quickcheck-new/Quickpull/EqShow.hs
  , quickcheck-old/Quickpull/EqShow.hs

source-repository head
  type: git
  location: https://github.com/massysett/quickpull.git

Flag build-test-gen
  Description: Build the quickpull-test-gen executable
  Default: False
  Manual: True

Flag old-quick-check
  Description: Use version of QuickCheck before version 2.7
  Default: False
  Manual: False

Library
  build-depends:
      base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8)
    , directory ((> 1.1.0.2 || == 1.1.0.2) && < 1.3)
    , filepath ((> 1.3.0.0 || == 1.3.0.0) && < 1.5)
  if flag(old-quick-check)
    build-depends:
        QuickCheck < 2.7
    hs-source-dirs:
        quickcheck-old
  else
    build-depends:
        QuickCheck ((> 2.7 || == 2.7) && < 2.8)
    hs-source-dirs:
        quickcheck-new
  hs-source-dirs:
      lib
  ghc-options:
      -Wall
  default-language: Haskell2010
  exposed-modules:
      Quickpull.EqShow
    , Quickpull
    , Quickpull.Files
    , Quickpull.Formatting
    , Quickpull.Laws
    , Quickpull.Render
    , Quickpull.Runners
    , Quickpull.Types

Executable quickpull
  build-depends:
      base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8)
    , directory ((> 1.1.0.2 || == 1.1.0.2) && < 1.3)
    , filepath ((> 1.3.0.0 || == 1.3.0.0) && < 1.5)
  if flag(old-quick-check)
    build-depends:
        QuickCheck < 2.7
    hs-source-dirs:
        quickcheck-old
  else
    build-depends:
        QuickCheck ((> 2.7 || == 2.7) && < 2.8)
    hs-source-dirs:
        quickcheck-new
  hs-source-dirs:
      lib
  ghc-options:
      -Wall
  default-language: Haskell2010
  hs-source-dirs:
      bin
  main-is: quickpull-main.hs

Executable quickpull-test-gen
  if flag(build-test-gen)
    build-depends:
        base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8)
      , directory ((> 1.1.0.2 || == 1.1.0.2) && < 1.3)
      , filepath ((> 1.3.0.0 || == 1.3.0.0) && < 1.5)
    if flag(old-quick-check)
      build-depends:
          QuickCheck < 2.7
      hs-source-dirs:
          quickcheck-old
    else
      build-depends:
          QuickCheck ((> 2.7 || == 2.7) && < 2.8)
      hs-source-dirs:
          quickcheck-new
    hs-source-dirs:
        lib
    ghc-options:
        -Wall
    default-language: Haskell2010
  else
    buildable: False
  build-depends:
      barecheck ((> 0.2.0.6 || == 0.2.0.6) && < 0.3)
  main-is: quickpull-test-gen.hs
  hs-source-dirs:
      quickcheck-tests
  other-modules:
      Decrees
    , Tests

Test-Suite quickpull-tests
  build-depends:
      base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8)
    , directory ((> 1.1.0.2 || == 1.1.0.2) && < 1.3)
    , filepath ((> 1.3.0.0 || == 1.3.0.0) && < 1.5)
  if flag(old-quick-check)
    build-depends:
        QuickCheck < 2.7
    hs-source-dirs:
        quickcheck-old
  else
    build-depends:
        QuickCheck ((> 2.7 || == 2.7) && < 2.8)
    hs-source-dirs:
        quickcheck-new
  hs-source-dirs:
      lib
  ghc-options:
      -Wall
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  main-is: quickpull-tests.hs
  other-modules:
      Decrees
    , Tests
  hs-source-dirs:
      tests