-
Notifications
You must be signed in to change notification settings - Fork 2
/
advent2021.cabal
196 lines (160 loc) · 4.32 KB
/
advent2021.cabal
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
cabal-version: 2.4
name: advent2021
version: 0.1.0.0
category: None
synopsis: Advent of Code 2021 Solutions
description: These are my cleaned-up solutions to the Advent of Code
programming game. <https://adventofcode.com>
license: ISC
license-file: LICENSE
author: Eric Mertens
maintainer: emertens@gmail.com
copyright: 2021 Eric Mertens
homepage: https://github.com/glguy/advent2021
bug-reports: https://github.com/glguy/advent2021/issues
build-type: Simple
data-files: inputs/*.txt
source-repository head
type: git
location: https://github.com/glguy/advent2021
flag bench
description: Enable building benchmark harness
default: False
manual: True
library
hs-source-dirs: common
default-language: Haskell2010
exposed-modules:
Advent
Advent.Chinese
Advent.Coord
Advent.Coord3
Advent.Format
Advent.Input
Advent.Memo
Advent.PQueue
Advent.Prelude
Advent.Queue
Advent.Search
Advent.SmallSet
other-modules:
Advent.Format.Lexer
Advent.Format.Parser
Advent.Format.Types
build-tool-depends: alex:alex, happy:happy
build-depends:
base ^>= 4.15 || ^>= 4.16,
array ^>= 0.5.4,
containers ^>= 0.6,
template-haskell ^>= 2.17 || ^>= 2.18,
MemoTrie ^>= 0.6,
transformers ^>= 0.5,
if flag(bench)
exposed-modules: Advent.Bench
build-depends:
criterion ^>= 1.5.11,
deepseq ^>= 1.4,
test-suite doctests
type: exitcode-stdio-1.0
ghc-options: -threaded
main-is: doctests.hs
default-language: Haskell2010
build-depends:
base,
doctest ^>= 0.20,
directory ^>= 1.3,
filepath ^>= 1.4,
common day
hs-source-dirs: execs
build-depends: advent2021, base
default-language: Haskell2010
other-modules: Dummy
executable Day01
import: day
main-is: Day01.hs
executable Day02
import: day
main-is: Day02.hs
executable Day03
import: day
main-is: Day03.hs
executable Day04
import: day
main-is: Day04.hs
executable Day05
import: day
main-is: Day05.hs
executable Day06
import: day
main-is: Day06.hs
build-depends: containers
executable Day07
import: day
main-is: Day07.hs
executable Day08
import: day
main-is: Day08.hs
build-depends: containers
executable Day09
import: day
main-is: Day09.hs
build-depends: array
executable Day10
import: day
main-is: Day10.hs
executable Day11
import: day
main-is: Day11.hs
build-depends: containers
executable Day12
import: day
main-is: Day12.hs
build-depends: containers
executable Day13
import: day
main-is: Day13.hs
build-depends: containers
executable Day14
import: day
main-is: Day14.hs
build-depends: containers
executable Day15
import: day
main-is: Day15.hs
build-depends: array
executable Day16
import: day
main-is: Day16.hs
executable Day17
import: day
main-is: Day17.hs
executable Day18
import: day
main-is: Day18.hs
executable Day19
import: day
main-is: Day19.hs
build-depends: containers
executable Day20
import: day
main-is: Day20.hs
build-depends: containers
executable Day21
import: day
main-is: Day21.hs
build-depends: containers, transformers
executable Day22
import: day
main-is: Day22.hs
build-depends: transformers
executable Day23
import: day
main-is: Day23.hs
build-depends: containers
executable Day24
import: day
main-is: Day24.hs
executable Day25
import: day
main-is: Day25.hs
build-depends: containers