name:                replicant
version:             0.1.0.0
synopsis:            Initial project template from stack
description:         Please see README.md
homepage:            https://github.com/jamesdabbs/replicant#readme
license:             BSD3
license-file:        LICENSE
author:              James Dabbs
maintainer:          jamesdabbs@gmail.com
copyright:           2016 James Dabbs
category:            Web
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  default-extensions:  LambdaCase
                     , OverloadedStrings
                     , RecordWildCards
  ghc-options:         -Wall
  exposed-modules:     Replicant
                     , Replicant.Adapters.CLI
                     , Replicant.Adapters.Slack
                     , Replicant.Adapters.Slack.Api
                     , Replicant.Adapters.Slack.Types
                     , Replicant.Base
                     , Replicant.Bot
                     , Replicant.Bot.Supervisor
                     , Replicant.Logging
                     , Replicant.Plugin
                     , Replicant.Plugins.Base
                     , Replicant.Plugins.Divide
                     , Replicant.Plugins.Echo
                     , Replicant.Plugins.Help
                     , Replicant.Plugins.Score
                     , Replicant.Types
  build-depends:       base >= 4.7 && < 5
                     , aeson
                     , aeson-pretty
                     , ansi-terminal
                     , attoparsec
                     , bytestring
                     , containers
                     , either
                     , exceptions
                     , fast-logger
                     , hedis
                     , hedis-namespace
                     , lens
                     , lens-aeson
                     , lifted-base
                     , monad-control
                     , monad-logger
                     , mtl
                     , network
                     , resourcet
                     , stm
                     , text
                     , transformers
                     , transformers-base
                     , websockets
                     , wreq
                     , wuss
  default-language:    Haskell2010

executable replicant
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , replicant
                     , bytestring
                     , hedis-namespace
                     , mtl
  default-language:    Haskell2010

test-suite replicant-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , replicant
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/githubuser/replicant