packages feed

chessica-0.1.0.0: chessica.cabal

cabal-version:   3.0
name:            chessica
version:         0.1.0.0
synopsis:        A Library for Chess Game Logic
description:     Please see the README on GitHub at <https://github.com/typedbyte/chessica#readme>
homepage:        https://github.com/typedbyte/chessica
bug-reports:     https://github.com/typedbyte/chessica/issues
license:         BSD-3-Clause
license-file:    LICENSE
author:          Michael Szvetits
maintainer:      typedbyte@qualified.name
copyright:       2023 Michael Szvetits
category:        Game
build-type:      Simple
extra-doc-files:
  CHANGELOG.md
  README.md

common shared-properties
  default-language: GHC2021
  build-depends:
      base >= 4.16.0 && < 5
  ghc-options:
      -Wall
  default-extensions:
      DuplicateRecordFields
      NoFieldSelectors
      OverloadedRecordDot

library
  import: shared-properties
  hs-source-dirs: src
  build-depends:
      containers >= 0.6.5 && < 0.7
  exposed-modules:
      Chess
      Chess.Board
      Chess.Board.Direction
      Chess.Board.PlacedPiece
      Chess.Board.Position
      Chess.Color
      Chess.Exception
      Chess.Game
      Chess.Game.Command
      Chess.Game.Status
      Chess.Piece
      Chess.Player
      Chess.Rulebook
      Chess.Rulebook.Standard
      Chess.Rulebook.Standard.Check
      Chess.Rulebook.Standard.Movement
      Chess.Rulebook.Standard.Movement.Bishop
      Chess.Rulebook.Standard.Movement.King
      Chess.Rulebook.Standard.Movement.Knight
      Chess.Rulebook.Standard.Movement.Pawn
      Chess.Rulebook.Standard.Movement.Queen
      Chess.Rulebook.Standard.Movement.Rook
      Chess.Rulebook.Standard.Status
      Chess.Rulebook.Standard.Threat
      Chess.Some