packages feed

quickpull-0.2.0.0: 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: 2014-07-13 11:14:43.265661 EDT
-- Cartel library version: 0.10.0.2
name: quickpull
version: 0.2.0.0
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:
    current-versions.txt
  , minimum-versions.txt
  , genCabal.hs
  , README.md

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

Library
  build-depends:
      base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8)
    , QuickCheck ((> 2.7.2 || == 2.7.2) && < 2.8)
    , directory ((> 1.1.0.2 || == 1.1.0.2) && < 1.3)
    , filepath ((> 1.3.0.0 || == 1.3.0.0) && < 1.4)
  default-language: Haskell2010
  hs-source-dirs:
      lib
  ghc-options:
      -Wall
  exposed-modules:
      Quickpull
    , Quickpull.Files
    , Quickpull.Formatting
    , Quickpull.Function
    , Quickpull.Laws
    , Quickpull.Render
    , Quickpull.Runners
    , Quickpull.Types

Executable quickpull
  build-depends:
      base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8)
    , QuickCheck ((> 2.7.2 || == 2.7.2) && < 2.8)
    , directory ((> 1.1.0.2 || == 1.1.0.2) && < 1.3)
    , filepath ((> 1.3.0.0 || == 1.3.0.0) && < 1.4)
  default-language: Haskell2010
  hs-source-dirs:
      lib
    , bin
  main-is: quickpull.hs
  ghc-options:
      -Wall

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

Test-Suite quickpull-tests
  type: exitcode-stdio-1.0
  main-is: quickpull-tests.hs
  build-depends:
      base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8)
    , QuickCheck ((> 2.7.2 || == 2.7.2) && < 2.8)
    , directory ((> 1.1.0.2 || == 1.1.0.2) && < 1.3)
    , filepath ((> 1.3.0.0 || == 1.3.0.0) && < 1.4)
  other-modules:
      Decrees
    , Tests
  ghc-options:
      -Wall
  hs-source-dirs:
      lib
    , tests
  default-language: Haskell2010