-
Notifications
You must be signed in to change notification settings - Fork 0
/
advent-of-code2020.cabal
224 lines (197 loc) · 3.94 KB
/
advent-of-code2020.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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
cabal-version: 3.0
-- Initial package description 'advent-of-code2020.cabal' generated by
-- 'cabal init'. For further documentation, see
-- http://haskell.org/cabal/users-guide/
name: advent-of-code2020
version: 0.1.0.0
-- synopsis:
-- description:
-- bug-reports:
-- license:
license-file: LICENSE
author: Eliott Tixier
maintainer: Eliott Tixier
-- copyright:
-- category:
build-type: Simple
extra-source-files: CHANGELOG.md, README.md
common shared-properties
default-language: Haskell2010
build-depends:
base >= 4 && < 5,
basic-prelude,
ghc-options:
-Wall
default-extensions:
DeriveAnyClass,
DeriveGeneric,
NoImplicitPrelude,
OverloadedStrings,
ScopedTypeVariables
common exe-and-test
import: shared-properties
build-depends:
day01,
day02,
day03,
day04,
day05,
day06,
day07,
day08,
day09,
day10,
day11,
day12,
day13,
day14,
day15,
day16,
day17,
day18,
day19,
common days-properties
import: shared-properties
hs-source-dirs: src
library utils
import: shared-properties
hs-source-dirs: src/utils
exposed-modules: LoadAndParse
build-depends:
megaparsec,
text,
library aoc-bit
import: shared-properties
hs-source-dirs: src/aoc-bit
exposed-modules: Aoc.Bit
test-suite tests
import: exe-and-test
type: exitcode-stdio-1.0
main-is: test/Main.hs
build-depends:
tasty,
tasty-hunit,
executable day
import: exe-and-test
main-is: app/Main.hs
build-depends:
library day01
import: days-properties
exposed-modules: Day01
build-depends:
text,
library day02
import: days-properties
exposed-modules: Day02
build-depends:
utils,
megaparsec
library day03
import: days-properties
exposed-modules: Day03
build-depends:
utils
library day04
import: days-properties
exposed-modules: Day04
build-depends:
text,
hashable,
unordered-containers,
megaparsec,
utils
library day05
import: days-properties
exposed-modules: Day05
build-depends:
utils,
aoc-bit
library day06
import: days-properties
exposed-modules: Day06
build-depends:
utils,
containers,
text,
library day07
import: days-properties
exposed-modules: Day07
build-depends:
utils,
megaparsec,
containers,
unordered-containers,
library day08
import: days-properties
exposed-modules: Day08
build-depends:
utils,
microlens,
microlens-th
library day09
import: days-properties
exposed-modules: Day09
other-modules: Day01
build-depends:
text
library day10
import: days-properties
exposed-modules: Day10
build-depends:
utils
library day11
import: days-properties
exposed-modules: Day11
build-depends:
utils,
unordered-containers
library day12
import: days-properties
exposed-modules: Day12
build-depends:
utils,
microlens,
library day13
import: days-properties
exposed-modules: Day13
build-depends:
text
library day14
import: days-properties
exposed-modules: Day14
build-depends:
utils,
aoc-bit,
unordered-containers
library day15
import: days-properties
exposed-modules: Day15
build-depends:
unordered-containers,
containers
library day16
import: days-properties
exposed-modules: Day16
build-depends:
utils,
text
library day17
import: days-properties
exposed-modules: Day17
build-depends:
unordered-containers,
containers,
utils
library day18
import: days-properties
exposed-modules: Day18
build-depends:
utils,
parser-combinators
library day19
import: days-properties
exposed-modules: Day19
build-depends:
utils,
text,
containers