packages feed

haverer-0.3.0.0: haverer.cabal

-- Copyright (c) 2014-2015 Jonathan M. Lange <jml@mumak.net>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
--     http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.

-- Initial haverer.cabal generated by cabal init. For further documentation,
-- see http://haskell.org/cabal/users-guide/

name:                haverer
version:             0.3.0.0
synopsis:            Implementation of the rules of Love Letter
description:         Implementation of the rules of Love Letter
license:             Apache-2.0
license-file:        LICENSE
author:              Jonathan M. Lange <jml@mumak.net>
maintainer:          jml@mumak.net
copyright:           Jonathan M. Lange
category:            Game
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  README.md
                   , Changelog.md

source-repository head
  type: git
  location: git@github.com:jml/haverer.git

library
  hs-source-dirs: lib
  build-depends: base >=4.8 && <4.9
               , containers
               , lens >= 4.7
               , random-shuffle
               , MonadRandom
               , tasty >= 0.7
               , tasty-quickcheck
               , basic-prelude >= 0.4.1 && < 0.5
               , text >= 1.2 && < 1.3
               , errors >= 1.4.7 && < 1.5
               , mtl >= 2.2 && <2.3
  exposed-modules: Haverer
                 , Haverer.Action
                 , Haverer.CLI.CommandLine
                 , Haverer.CLI.Prompt
                 , Haverer.Deck
                 , Haverer.Engine
                 , Haverer.Game
                 , Haverer.Internal.Counter
                 , Haverer.Internal.Error
                 , Haverer.Internal.Ring
                 , Haverer.Player
                 , Haverer.PlayerSet
                 , Haverer.Round
                 , Haverer.Testing
                 , Haverer.ValidMoves
  default-language:    Haskell2010
  ghc-options: -Wall

executable haverer
  main-is:             Main.hs
  build-depends:       base >=4.8 && <4.9
                     , haverer
                     , basic-prelude >= 0.4.1 && < 0.5
                     , text >= 1.2 && < 1.3
  hs-source-dirs:      src/cli
  default-language:    Haskell2010


test-suite test
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is: test.hs
  ghc-options: -Wall
  build-depends:
      base >=4.8 && <4.9
              , tasty >= 0.7
              , tasty-hunit
              , tasty-quickcheck
              , haverer
              , random-shuffle
              , containers
              , basic-prelude >= 0.4.1 && < 0.5
              , text >= 1.2 && < 1.3
              , errors >= 1.4.7 && < 1.5
              , mtl >= 2.2 && <2.3