Done day 4
[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 ghc-options: -O2
77 -Wall
78 -threaded
79 -rtsopts "-with-rtsopts=-N"
80
81 executable advent-of-code22
82 main-is: Main.hs
83
84 -- Modules included in this executable, other than Main.
85 -- other-modules:
86
87 -- LANGUAGE extensions used by modules in this package.
88 -- other-extensions:
89 build-depends: base ^>=4.16.4.0
90 hs-source-dirs: app
91 default-language: Haskell2010
92
93 executable advent01
94 import: common-extensions, build-directives
95 main-is: advent01/Main.hs
96 build-depends: split
97
98 executable advent02
99 import: common-extensions, build-directives
100 main-is: advent02/Main.hs
101 build-depends: text, attoparsec
102
103 executable advent03
104 import: common-extensions, build-directives
105 main-is: advent03/Main.hs
106 build-depends: containers, split
107
108 executable advent04
109 import: common-extensions, build-directives
110 main-is: advent04/Main.hs
111 build-depends: text, attoparsec