halma/halma.cabal

Summary

Maintainability
Test Coverage
name:                halma
version:             0.3.0.2
synopsis:            Library implementing Halma rules
description:         Rules and `diagrams`-based renderer for the board game Halma on a hexagonal grid.
homepage:            https://github.com/timjb/halma
license:             MIT
license-file:        LICENSE
author:              Tim Baumann
maintainer:          tim@timbaumann.info
copyright:           2014-2021 Tim Baumann
category:            Game
build-type:          Simple
cabal-version:       >= 1.10
extra-source-files:  CHANGELOG.md

source-repository head
  type:     git
  location: https://github.com/timjb/halma.git


library
  ghc-options:         -Wall
  exposed-modules:     Game.Halma.Board,
                       Game.Halma.Configuration,
                       Game.Halma.Rules,
                       Game.Halma.Board.Draw,
                       Game.Halma.AI.Base,
                       Game.Halma.AI.Ignorant,
                       Game.Halma.AI.Competitive,
                       Game.TurnCounter
  build-depends:       base >= 4.6 && < 5,
                       grid >= 7.7.1 && < 7.9,
                       containers >= 0.5 && < 0.7,
                       diagrams-lib >= 1.3 && < 1.5,
                       data-default >= 0.4 && < 0.8,
                       aeson >= 0.11 && < 1.6
  hs-source-dirs:      src
  default-language:    Haskell2010

Test-suite tests
  Ghc-options:         -Wall
  Hs-source-dirs:      test
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  other-modules:       Game.Halma.Board.Tests,
                       Game.Halma.Rules.Tests
  default-language:    Haskell2010
  Build-depends:       halma,
                       grid,
                       HUnit,
                       QuickCheck,
                       base,
                       containers,
                       test-framework >= 0.6 && < 0.9,
                       test-framework-hunit >= 0.3.0 && < 0.4,
                       test-framework-quickcheck2 >= 0.3.0 && < 0.4