Done day 8
[advent-of-code-22.git] / advent-of-code22.cabal
1 cabal-version: 3.6
2 name: advent-of-code22
3 version: 0.1.0.0
4
5 -- A short (one-line) description of the package.
6 synopsis: Solutions for the Advent of Code 2022
7
8 -- A longer description of the package.
9 -- description:
10
11 -- A URL where users can report bugs.
12 -- bug-reports:
13
14 -- The license under which the package is released.
15 -- license:
16 author: Neil Smith
17 maintainer: NeilNjae@users.noreply.github.com
18
19 -- A copyright notice.
20 -- copyright:
21 -- category:
22 extra-source-files:
23 CHANGELOG.md
24 README.md
25
26 common common-extensions
27 default-extensions: AllowAmbiguousTypes
28 , ApplicativeDo
29 , BangPatterns
30 , BlockArguments
31 , DataKinds
32 , DeriveFoldable
33 , DeriveFunctor
34 , DeriveGeneric
35 , DeriveTraversable
36 -- , DuplicateRecordFields
37 , EmptyCase
38 , FlexibleContexts
39 , FlexibleInstances
40 , FunctionalDependencies
41 , GADTs
42 , GeneralizedNewtypeDeriving
43 , ImplicitParams
44 , KindSignatures
45 , LambdaCase
46 , MonadComprehensions
47 , MonoLocalBinds
48 , MultiParamTypeClasses
49 , MultiWayIf
50 , NamedFieldPuns
51 , NegativeLiterals
52 , NumDecimals
53 -- , NoFieldSelectors
54 -- , OverloadedLists
55 -- , OverloadedRecordDot
56 , OverloadedStrings
57 , PartialTypeSignatures
58 , PatternGuards
59 , PatternSynonyms
60 , PolyKinds
61 , RankNTypes
62 , RecordWildCards
63 , ScopedTypeVariables
64 , TemplateHaskell
65 , TransformListComp
66 , TupleSections
67 , TypeApplications
68 , TypeFamilies
69 , TypeInType
70 , TypeOperators
71 , ViewPatterns
72
73 common build-directives
74 build-depends: base >=4.16
75 default-language: Haskell2010
76 hs-source-dirs: ., app, src
77 other-modules: AoC
78 ghc-options: -O2
79 -Wall
80 -threaded
81 -rtsopts "-with-rtsopts=-N"
82
83 executable advent-of-code22
84 main-is: Main.hs
85
86 -- Modules included in this executable, other than Main.
87 -- other-modules:
88
89 -- LANGUAGE extensions used by modules in this package.
90 -- other-extensions:
91 build-depends: base ^>=4.16.4.0
92 hs-source-dirs: app, src
93 default-language: Haskell2010
94
95 library
96 import: common-extensions
97 build-depends: base >=4.16
98 hs-source-dirs: ., app, src
99 exposed-modules: AoC
100
101 executable advent01
102 import: common-extensions, build-directives
103 main-is: advent01/Main.hs
104 build-depends: split
105
106 executable advent02
107 import: common-extensions, build-directives
108 main-is: advent02/Main.hs
109 build-depends: text, attoparsec
110
111 executable advent03
112 import: common-extensions, build-directives
113 main-is: advent03/Main.hs
114 build-depends: containers, split
115
116 executable advent04
117 import: common-extensions, build-directives
118 main-is: advent04/Main.hs
119 build-depends: text, attoparsec
120
121 executable advent04i
122 import: common-extensions, build-directives
123 main-is: advent04/Main-interval.hs
124 build-depends: text, attoparsec, intervals
125
126 executable advent05
127 import: common-extensions, build-directives
128 main-is: advent05/Main.hs
129 build-depends: text, attoparsec, containers
130
131 executable advent06
132 import: common-extensions, build-directives
133 main-is: advent06/Main.hs
134
135 executable advent07
136 import: common-extensions, build-directives
137 main-is: advent07/Main.hs
138 build-depends: text, attoparsec, containers, path-tree, rosezipper
139
140 executable advent08
141 import: common-extensions, build-directives
142 main-is: advent08/Main.hs
143 -- build-depends: text, attoparsec, containers, path-tree, rosezipper