Source

hs-cctools-workqueue / hs-cctools-workqueue.cabal

-- -*- indent-tabs-mode: nil -*- --
-- Initial hs-cctools-workqueue.cabal generated by cabal init.  For further
--  documentation, see http://haskell.org/cabal/users-guide/

name:                cctools-workqueue
version:             0.1.0.0
synopsis:            High-level interface to CCTools' WorkQueue library
-- description:         
license:             GPL-2
license-file:        LICENSE
author:              Badi' Abdul-Wahid
maintainer:          abdulwahidc@gmail.com
-- copyright:           
category:            Distributed Computing
build-type:          Simple
cabal-version:       >=1.8

flag warn
  description:       Turn on warnings
  default:           False

library
  exposed-modules:     Control.Distributed.CCTools.WorkQueue.Task
                     , Control.Distributed.CCTools.WorkQueue.Types
                     , Control.Distributed.CCTools.WorkQueue.WorkQueue
                     , Control.Distributed.CCTools.WorkQueue.Debug
                     , Control.Distributed.CCTools.WorkQueue

  other-modules:       Control.Distributed.CCTools.WorkQueue.Internal.Cast
                     , Control.Distributed.CCTools.WorkQueue.Internal.Types
                     , Control.Distributed.CCTools.WorkQueue.Internal.CastInstances
                     , Control.Distributed.CCTools.WorkQueue.Internal.Task
                     , Control.Distributed.CCTools.WorkQueue.Internal.WorkQueue
                     , Control.Distributed.CCTools.WorkQueue.Internal.Debug

  build-depends:       base ==4.6.*
                     , bindings-cctools == 3.6.1.0.1.0.0
                     , lens
                     , unix
                     , bytestring
                     , monad-loops

  extra-libraries:   dttools

  ghc-options:       -O3 -funbox-strict-fields

  if flag(warn)
    ghc-options:     -Werror
                     -W
                     -fwarn-duplicate-exports -fwarn-incomplete-patterns -fwarn-incomplete-uni-patterns
                     -fwarn-incomplete-record-updates -fwarn-missing-fields -fwarn-missing-signatures
                     -fwarn-name-shadowing -fwarn-tabs -fwarn-unused-imports -fwarn-unused-matches
                     -fwarn-warnings-deprecations