-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadvent2023.cabal
99 lines (84 loc) · 2.02 KB
/
advent2023.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
cabal-version: 3.0
name: advent2023
version: 0.1.0.0
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
-- license:
-- The package author(s).
-- author:
-- An email address to which users can send suggestions, bug reports, and patches.
-- maintainer:
-- A copyright notice.
-- copyright:
-- category:
-- extra-source-files: CHANGELOG.md
common requires
build-depends:
base ^>=4.16.4.0,
transformers ^>= 0.6.1.1,
vector ^>= 0.13.0.0,
text ^>= 2.1,
vector-algorithms ^>= 0.9.0.1,
parsec ^>= 3.1.17.0,
lens ^>= 5.2.3,
bytestring ^>= 0.12.0.2,
hashtables ^>= 1.3.1,
array ^>= 0.5.4.0,
hashable ^>= 1.4.3.0,
fingertree ^>= 0.1.5.0,
hashmap ^>= 1.3.3,
library advent2023-lib
import: requires
hs-source-dirs: app
exposed-modules:
AocParser,
Day01,
Day02,
Day03,
Day04,
Day05,
Day06,
Day07,
Day08,
Day09,
Day10,
Day11,
Day12,
Day13,
Day14,
Day15,
Day16,
Day17,
Day18,
Day19,
Day20,
Day21,
Day22,
Day23,
executable advent2023
import: requires
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
hs-source-dirs: app
build-depends:
advent2023-lib
default-language: Haskell2010
other-modules:
Day01
test-suite tests
import: requires
type: exitcode-stdio-1.0
hs-source-dirs: tests
build-depends:
advent2023-lib,
HUnit ^>= 1.6.2.0,
main-is: Suite.hs
default-language: Haskell2010