packages feed

DMuCheck-0.3.0.1: DMuCheck.cabal

name:                DMuCheck
version:             0.3.0.1
synopsis:            Distributed Mutation Analysis framework for MuCheck
description:         This package is a wrapper over the mutation analysis
                     library MuCheck. It provides a basic process based
                     parallelization of mutant execution, and also a
                     client and server based distributed mode of mutant
                     execution. Currently it supports QuickCheck, SmallCheck,
                     HUnit and HSpec
homepage:            https://bitbucket.com/osu-testing/d-mucheck
license:             GPL-2
license-file:        LICENSE
author:              Rahul Gopinath <rahul@gopinath.org>
maintainer:          rahul@gopinath.org
category:            Testing
build-type:          Simple
cabal-version:       >= 1.10
extra-source-files:  changes.md

source-repository    head
  type:              git
  location:          https://bitbucket.org/osu-testing/d-mucheck.git

source-repository    this
  type:              git
  location:          https://bitbucket.org/osu-testing/d-mucheck.git
  tag:               0.3.0.1

Flag QuickCheck
  Description: Enable QuickCheck support
  Default:     False
Flag SmallCheck
  Description: Enable SmallCheck support
  Default:     False
Flag HUnit
  Description: Enable HUnit support
  Default:     False
Flag Hspec
  Description: Enable Hspec support
  Default:     False

executable d-mucheck
  build-depends:    base >=4 && <5,
                      distributed-process-simplelocalnet >= 0.2.2.0,
                      distributed-process>=0.5.3,
                      network-transport-tcp>=0.4.1,
                      directory >= 1.2,
                      hint >= 0.4,
                      unix >= 2.6,
                      binary >= 0.7,
                      MuCheck== 0.3.0.0
  if flag(QuickCheck)
    build-depends:    MuCheck-QuickCheck == 0.3.0.0
  if flag(SmallCheck)
    build-depends:    MuCheck-SmallCheck == 0.3.0.0
  if flag(HUnit)
    build-depends:    MuCheck-HUnit == 0.3.0.0
  if flag(Hspec)
    build-depends:    MuCheck-Hspec == 0.3.0.0

  default-language: Haskell2010
  if flag(QuickCheck)
    hs-source-dirs:   src, quickcheck
  if flag(SmallCheck)
    hs-source-dirs:   src, smallcheck
  if flag(HUnit)
    hs-source-dirs:   src, hunit
  if flag(Hspec)
    hs-source-dirs:   src, hspec
  main-is:          Main.hs
  ghc-options:     -Wall -fno-warn-orphans -threaded

executable d-master
  build-depends:    base >=4 && <5,
                      distributed-process-simplelocalnet >= 0.2.2.0,
                      distributed-process>=0.5.3,
                      network-transport-tcp>=0.4.1,
                      directory >= 1.2,
                      hint >= 0.4,
                      unix >= 2.6,
                      binary >= 0.7,
                      MuCheck== 0.3.0.0
  if flag(QuickCheck)
    build-depends:    MuCheck-QuickCheck == 0.3.0.0
  if flag(SmallCheck)
    build-depends:    MuCheck-SmallCheck == 0.3.0.0
  if flag(HUnit)
    build-depends:    MuCheck-HUnit == 0.3.0.0
  if flag(Hspec)
    build-depends:    MuCheck-Hspec == 0.3.0.0

  default-language: Haskell2010
  if flag(QuickCheck)
    hs-source-dirs:   src, quickcheck
  if flag(SmallCheck)
    hs-source-dirs:   src, smallcheck
  if flag(HUnit)
    hs-source-dirs:   src, hunit
  if flag(Hspec)
    hs-source-dirs:   src, hspec

  main-is:          Master.hs
  ghc-options:     -Wall -fno-warn-orphans -threaded

executable d-slave
  build-depends:    base >=4 && <5,
                      distributed-process-simplelocalnet >= 0.2.2.0,
                      distributed-process>=0.5.3,
                      network-transport-tcp>=0.4.1,
                      directory >= 1.2,
                      hint >= 0.4,
                      unix >= 2.6,
                      binary >= 0.7,
                      MuCheck== 0.3.0.0
  if flag(QuickCheck)
    build-depends:    MuCheck-QuickCheck == 0.3.0.0
  if flag(SmallCheck)
    build-depends:    MuCheck-SmallCheck == 0.3.0.0
  if flag(HUnit)
    build-depends:    MuCheck-HUnit == 0.3.0.0
  if flag(Hspec)
    build-depends:    MuCheck-Hspec == 0.3.0.0

  default-language: Haskell2010
  if flag(QuickCheck)
    hs-source-dirs:   src, quickcheck
  if flag(SmallCheck)
    hs-source-dirs:   src, smallcheck
  if flag(HUnit)
    hs-source-dirs:   src, hunit
  if flag(Hspec)
    hs-source-dirs:   src, hspec

  main-is:          Slave.hs
  ghc-options:     -Wall -fno-warn-orphans -threaded