Initial commit
[advent-of-code-21.git] / advent-of-code21.cabal
1 cabal-version: 3.6
2 -- Initial package description 'advent-of-code21.cabal' generated by 'cabal
3 -- init'. For further documentation, see
4 -- http://haskell.org/cabal/users-guide/
5
6 name: advent-of-code21
7 version: 0.1.0.0
8 synopsis: Advent of Code 21 solutions
9 -- description:
10 -- bug-reports:
11 license: MIT
12 -- license-file: LICENSE
13 author: Neil Smith
14 maintainer: neil.git@njae.me.uk
15 -- copyright:
16 -- category:
17 build-type: Simple
18 extra-source-files: CHANGELOG.md, README.md
19
20 common common-extensions
21 default-extensions: AllowAmbiguousTypes
22 , ApplicativeDo
23 , BangPatterns
24 , BlockArguments
25 , DataKinds
26 , DeriveFoldable
27 , DeriveFunctor
28 , DeriveGeneric
29 , DeriveTraversable
30 , EmptyCase
31 , FlexibleContexts
32 , FlexibleInstances
33 , FunctionalDependencies
34 , GADTs
35 , GeneralizedNewtypeDeriving
36 , ImplicitParams
37 , KindSignatures
38 , LambdaCase
39 , MonadComprehensions
40 , MonoLocalBinds
41 , MultiParamTypeClasses
42 , MultiWayIf
43 , NamedFieldPuns
44 , NegativeLiterals
45 , NumDecimals
46 , OverloadedLists
47 , OverloadedStrings
48 , PartialTypeSignatures
49 , PatternGuards
50 , PatternSynonyms
51 , PolyKinds
52 , RankNTypes
53 , RecordWildCards
54 , ScopedTypeVariables
55 , TemplateHaskell
56 , TransformListComp
57 , TupleSections
58 , TypeApplications
59 , TypeFamilies
60 , TypeInType
61 , TypeOperators
62 , ViewPatterns
63
64 common build-directives
65 build-depends: base ^>=4.14
66 default-language: Haskell2010
67 ghc-options: -O2
68 -Wall
69 -threaded
70 -rtsopts "-with-rtsopts=-N"
71
72 executable advent-of-code21
73 main-is: Main.hs
74 -- other-modules:
75 -- other-extensions:
76 build-depends: base >=4.13 && < 4.15
77 -- hs-source-dirs:
78 default-language: Haskell2010
79
80 executable advent01
81 import: common-extensions, build-directives
82 main-is: advent01/Main.hs
83 -- other-modules:
84 -- other-extensions:
85 -- build-depends: base >=4.13 && < 4.15
86 -- hs-source-dirs:
87 -- default-language: Haskell2010