-
Notifications
You must be signed in to change notification settings - Fork 0
/
adventofcode.cabal
154 lines (127 loc) · 4.18 KB
/
adventofcode.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
cabal-version: 2.2
-- cabal 2.2 for common stanzas
name: adventofcode2018
version: 1.0
build-type: Simple
common flags
default-language: Haskell2010
ghc-options:
-Weverything
-Wno-all-missed-specialisations
-Wno-implicit-prelude
-Wno-missed-specialisations
-Wno-missing-deriving-strategies
-- as of GHC 9.0.1, enabling -Wmissing-exported-signatures disables stricter -Wmissing-signatures
-- I want -Wmissing-signatures, so I will not enable -Wmissing-exported-signatures.
-- They may have changed this in 9.2.1, so check back later.
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missing-local-signatures
-Wno-missing-safe-haskell-mode
-Wno-monomorphism-restriction
-Wno-prepositive-qualified-module
-Wno-safe
-Wno-unsafe
common bin
hs-source-dirs: bin
library
import: flags
hs-source-dirs: lib
exposed-modules: AdventOfCode
build-depends: base
library aocasm
import: flags
hs-source-dirs: lib
exposed-modules: AdventOfCode.Assembly
build-depends: base, containers
library aocsearch
import: flags
hs-source-dirs: lib
exposed-modules: AdventOfCode.Search
build-depends: base, containers
library aocsplit
import: flags
hs-source-dirs: lib
exposed-modules: AdventOfCode.Split
build-depends: base
executable 01_frequency_deltas
import: bin, flags
build-depends: base, adventofcode2018
main-is: 01_frequency_deltas.hs
executable 02_inventory_management
import: bin, flags
build-depends: base, adventofcode2018, containers
main-is: 02_inventory_management.hs
executable 03_grid_claims
import: bin, flags
build-depends: base, adventofcode2018, aocsplit, array, containers
main-is: 03_grid_claims.hs
executable 04_repose_record
import: bin, flags
build-depends: base, adventofcode2018, containers
main-is: 04_repose_record.hs
executable 05_alchemical_reduction
import: bin, flags
build-depends: base, adventofcode2018
main-is: 05_alchemical_reduction.hs
executable 06_chronal_coordinates
import: bin, flags
build-depends: base, adventofcode2018, containers
main-is: 06_chronal_coordinates.hs
executable 07_topological
import: bin, flags
build-depends: base, adventofcode2018, containers
main-is: 07_topological.hs
executable 08_metadata_tree
import: bin, flags
build-depends: base, adventofcode2018
main-is: 08_metadata_tree.hs
executable 09_marble_mania
import: bin, flags
-- not currently using containers, but kept for easy comparison
build-depends: base, array, containers
main-is: 09_marble_mania.hs
executable 10_the_stars_align
import: bin, flags
build-depends: base, adventofcode2018, aocsplit, containers
main-is: 10_the_stars_align.hs
executable 11_max_square
import: bin, flags
build-depends: base, array
main-is: 11_max_square.hs
executable 13_mine_cart_madness
import: bin, flags
build-depends: base, adventofcode2018, array
main-is: 13_mine_cart_madness.hs
executable 16_chronal_classification
import: bin, flags
build-depends: base, adventofcode2018, aocasm, aocsplit, containers
main-is: 16_chronal_classification.hs
executable 17_reservoir_research
import: bin, flags
build-depends: base, adventofcode2018, aocsplit, containers
main-is: 17_reservoir_research.hs
executable 19_go_with_the_flow
import: bin, flags
build-depends: base, adventofcode2018, aocasm, array, containers
main-is: 19_go_with_the_flow.hs
executable 20_a_regular_map
import: bin, flags
build-depends: base, adventofcode2018, aocsearch, containers
main-is: 20_a_regular_map.hs
executable 21_chronal_conversion
import: bin, flags
build-depends: base, adventofcode2018, aocasm, array, containers
main-is: 21_chronal_conversion.hs
executable 22_mode_maze
import: bin, flags
build-depends: base, aocsearch, array
main-is: 22_mode_maze.hs
executable 24_immune_system_sim
import: bin, flags
build-depends: base, adventofcode2018, aocsplit, containers
main-is: 24_immune_system_sim.hs
executable 25_4d_adventure
import: bin, flags
build-depends: base, adventofcode2018, aocsplit, array
main-is: 25_4d_adventure.hs