packages feed

hchesslib-0.1.0.0: hchesslib.cabal

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

name:                hchesslib
version:             0.1.0.0
synopsis:            Chess library
description:         Library implementing chess rules.
license:             GPL-2
license-file:        LICENSE
author:              Miika-Petteri Matikainen
maintainer:          miikapetteri@gmail.com
homepage:            https://github.com/nablaa/hchesslib
-- copyright:
category:            Game
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

source-repository head
  type:                 git
  location:             https://github.com/nablaa/hchesslib

Library
  Default-Language:     Haskell2010
  Hs-Source-Dirs:       src

  exposed-modules:      Chess, Chess.FEN

  other-modules:        Chess.Internal.Piece,
                        Chess.Internal.Board,
                        Chess.Internal.Move,
                        Chess.Internal.FEN,
                        Chess.Internal.Notation
                        Chess.Internal.Game

  Build-depends:        base >= 4 && < 5
                        , array >= 0.4
                        , containers >= 0.4
                        , attoparsec
                        , text

Test-Suite spec
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  Hs-Source-Dirs:       src, test, test/Chess
  Ghc-Options:          -Wall -Werror
  Main-Is:              Spec.hs

  Build-Depends:        base >= 4 && < 5
                        , hspec >= 1.5
                        , QuickCheck
                        , array >= 0.4
                        , containers >= 0.4
                        , attoparsec
                        , text
                        , hchesslib

Test-suite hlint
  type:                 exitcode-stdio-1.0
  Default-language:     Haskell2010
  Hs-source-dirs:       src, test, test/Chess
  Main-is:              HLint.hs

  Build-depends:        base >= 4 && < 5
                        , hlint >= 1.8
                        , hchesslib