-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
121 lines (100 loc) · 2.08 KB
/
package.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
name: turncoat
version: 1.0
github: "albertprz/turncoat"
license: BSD3
author: "Alberto Perez"
maintainer: "albertoperez1994@gmail.com"
copyright: "2023 Alberto Perez"
extra-source-files:
- README.md
# Metadata used when publishing your package
synopsis: Elegant UCI chess engine
category: Chess Engine
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/albertprz/turncoat#readme>
dependencies:
- base >= 4 && < 5
- async
- bookhound
- classy-prelude
- mtl
- text
- vector
- containers
- derive-storable
- random
- time
- unbounded-delays
- QuickCheck
- newtype
- errors
- split
- composition
language: GHC2021
default-extensions:
# Prelude
- NoImplicitPrelude
# Evaluation
- StrictData
# Syntax
- LambdaCase
- MultiWayIf
- BlockArguments
- PostfixOperators
# Records
- DuplicateRecordFields
- NoFieldSelectors
- RecordWildCards
- OverloadedRecordDot
# Convenience
- OverloadedStrings
# Patterns
- ViewPatterns
- PatternSynonyms
# Implicits
- 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
# - -fprof-late
# - -finfo-table-map
# - -fdistinct-constructor-tables
# - -ddump-simpl
# - -ddump-to-file
# - -dsuppress-all
# - -dsuppress-uniques
library:
source-dirs: src
tests:
test:
build-tools: hspec-discover
source-dirs: test
main: Spec.hs
dependencies:
- hspec
- turncoat
ghc-options:
- -Wno-type-defaults
executables:
turncoat:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- turncoat