packages feed

turncoat-1.0: turncoat.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.37.0.
--
-- see: https://github.com/sol/hpack

name:           turncoat
version:        1.0
synopsis:       Elegant UCI chess engine
description:    Please see the README on GitHub at <https://github.com/albertprz/turncoat#readme>
category:       Chess Engine
homepage:       https://github.com/albertprz/turncoat#readme
bug-reports:    https://github.com/albertprz/turncoat/issues
author:         Alberto Perez
maintainer:     albertoperez1994@gmail.com
copyright:      2023 Alberto Perez
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/albertprz/turncoat

library
  exposed-modules:
      AppPrelude
      Evaluation.Evaluation
      Evaluation.Material
      Evaluation.Parameters
      Evaluation.ScoreBreakdown
      Models.Command
      Models.Move
      Models.Piece
      Models.Position
      Models.Score
      MoveGen.MakeMove
      MoveGen.MoveQueries
      MoveGen.PieceAttacks
      MoveGen.PieceCaptures
      MoveGen.PieceQuietMoves
      MoveGen.PositionQueries
      Parsers.Command
      Parsers.Position
      Search.MoveOrdering
      Search.Parameters
      Search.Perft
      Search.Quiescence
      Search.Search
      Search.TimeManagement
      Utils.Board
      Utils.KillersTable
      Utils.TranspositionTable
  other-modules:
      Paths_turncoat
  hs-source-dirs:
      src
  default-extensions:
      NoImplicitPrelude
      StrictData
      LambdaCase
      MultiWayIf
      BlockArguments
      PostfixOperators
      DuplicateRecordFields
      NoFieldSelectors
      RecordWildCards
      OverloadedRecordDot
      OverloadedStrings
      ViewPatterns
      PatternSynonyms
      ImplicitParams
  ghc-options: -O2 -funbox-strict-fields -fspecialize-aggressively -fexpose-all-unfoldings -funfolding-use-threshold=200 -fspec-constr-count=20 -flate-dmd-anal -flate-specialise -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
  build-depends:
      QuickCheck
    , async
    , base ==4.*
    , bookhound
    , classy-prelude
    , composition
    , containers
    , derive-storable
    , errors
    , mtl
    , newtype
    , random
    , split
    , text
    , time
    , unbounded-delays
    , vector
  default-language: GHC2021

executable turncoat
  main-is: Main.hs
  other-modules:
      Uci
      Paths_turncoat
  hs-source-dirs:
      app
  default-extensions:
      NoImplicitPrelude
      StrictData
      LambdaCase
      MultiWayIf
      BlockArguments
      PostfixOperators
      DuplicateRecordFields
      NoFieldSelectors
      RecordWildCards
      OverloadedRecordDot
      OverloadedStrings
      ViewPatterns
      PatternSynonyms
      ImplicitParams
  ghc-options: -O2 -funbox-strict-fields -fspecialize-aggressively -fexpose-all-unfoldings -funfolding-use-threshold=200 -fspec-constr-count=20 -flate-dmd-anal -flate-specialise -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      QuickCheck
    , async
    , base ==4.*
    , bookhound
    , classy-prelude
    , composition
    , containers
    , derive-storable
    , errors
    , mtl
    , newtype
    , random
    , split
    , text
    , time
    , turncoat
    , unbounded-delays
    , vector
  default-language: GHC2021

test-suite test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Search.PerftSpec
      Utils.TranspositionTableSpec
      Paths_turncoat
  hs-source-dirs:
      test
  default-extensions:
      NoImplicitPrelude
      StrictData
      LambdaCase
      MultiWayIf
      BlockArguments
      PostfixOperators
      DuplicateRecordFields
      NoFieldSelectors
      RecordWildCards
      OverloadedRecordDot
      OverloadedStrings
      ViewPatterns
      PatternSynonyms
      ImplicitParams
  ghc-options: -O2 -funbox-strict-fields -fspecialize-aggressively -fexpose-all-unfoldings -funfolding-use-threshold=200 -fspec-constr-count=20 -flate-dmd-anal -flate-specialise -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wno-type-defaults
  build-tool-depends:
      hspec-discover:hspec-discover
  build-depends:
      QuickCheck
    , async
    , base ==4.*
    , bookhound
    , classy-prelude
    , composition
    , containers
    , derive-storable
    , errors
    , hspec
    , mtl
    , newtype
    , random
    , split
    , text
    , time
    , turncoat
    , unbounded-delays
    , vector
  default-language: GHC2021