-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.yaml
108 lines (98 loc) · 2.23 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
name: rummikubsolver
version: 1.1.0.0
github: "gregorias/rummikubsolver"
license: GPL-3
license-file: LICENSE
author: "Grzegorz Milka"
maintainer: "[email protected]"
copyright: "2020-2023 Grzegorz Milka"
extra-source-files:
- README.md
# Metadata used when publishing your package
synopsis: An interactive solver for Rummikub with a web interface.
category: Game
# 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/gregorias/findata-transcoder#readme>
dependencies:
- base >= 4.14 && < 5
language: GHC2021
default-extensions:
- DataKinds
- DerivingStrategies
- DerivingVia
- DuplicateRecordFields
- FunctionalDependencies
- GADTs
- LambdaCase
- MultiWayIf
- NoImplicitPrelude
- OverloadedLabels
- OverloadedRecordDot
- OverloadedStrings
- QuasiQuotes
- TypeFamilies
- TypeOperators
# no-type-defaults, this is dangerous, but in terms of convenience it's so
# useful to use ExtendedDefaultRules that I keep it.
ghc-options:
- -Wall
- -Werror
- -Wcompat
- -Wmissing-deriving-strategies
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wpartial-fields
- -Wredundant-constraints
- -Wno-type-defaults
- -Wno-partial-type-signatures
- -Wno-name-shadowing
library:
source-dirs: src
dependencies:
- array
- closed
- containers
- extra
- glpk-hs
- megaparsec
- mtl
- relude
- safe
- optparse-applicative
- text
- transformers
- threepenny-gui
executables:
rummikubsolver:
main: Main.hs
source-dirs: executables
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- mtl
- relude
- rummikubsolver
- safe
tests:
test-rummikubsolver:
main: Main.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -main-is Main
dependencies:
- closed
- hspec
- hspec-contrib
- hspec-expectations-pretty-diff
- HUnit
- relude
- rummikubsolver