Initial commit
[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 , EmptyCase
37 , FlexibleContexts
38 , FlexibleInstances
39 , FunctionalDependencies
40 , GADTs
41 , GeneralizedNewtypeDeriving
42 , ImplicitParams
43 , KindSignatures
44 , LambdaCase
45 , MonadComprehensions
46 , MonoLocalBinds
47 , MultiParamTypeClasses
48 , MultiWayIf
49 , NamedFieldPuns
50 , NegativeLiterals
51 , NumDecimals
52 -- , OverloadedLists
53 , OverloadedStrings
54 , PartialTypeSignatures
55 , PatternGuards
56 , PatternSynonyms
57 , PolyKinds
58 , RankNTypes
59 , RecordWildCards
60 , ScopedTypeVariables
61 , TemplateHaskell
62 , TransformListComp
63 , TupleSections
64 , TypeApplications
65 , TypeFamilies
66 , TypeInType
67 , TypeOperators
68 , ViewPatterns
69
70 common build-directives
71 build-depends: base >=4.16
72 default-language: Haskell2010
73 ghc-options: -O2
74 -Wall
75 -threaded
76 -rtsopts "-with-rtsopts=-N"
77
78 executable advent-of-code22
79 main-is: Main.hs
80
81 -- Modules included in this executable, other than Main.
82 -- other-modules:
83
84 -- LANGUAGE extensions used by modules in this package.
85 -- other-extensions:
86 build-depends: base ^>=4.16.4.0
87 hs-source-dirs: app
88 default-language: Haskell2010
89
90 executable advent01
91 import: common-extensions, build-directives
92 main-is: advent01/Main.hs
93
94 executable advent02
95 import: common-extensions, build-directives
96 main-is: advent02/Main.hs
97 build-depends: text, attoparsec