blob: 82fc1a68e8361369796ca4bc433dab66dcce469d [file] [log] [blame]
Matthias Andreas Benkard262110d2021-08-24 06:35:55 +02001cabal-version: 3.0
2name: mulkup
3version: 0.1.0.0
4license: NONE
5copyright: 2021 Matthias Andreas Benkard
6maintainer: code@mail.matthias.benkard.de
7author: Matthias Andreas Benkard
8
9
10common shared-properties
11 default-language: Haskell2010
12 -- tested-with:
13 -- GHC == 9.0.1
14
15 build-depends:
Matthias Andreas Benkardf1683f52021-08-24 20:41:41 +020016 , base
17 , relude
Matthias Andreas Benkard262110d2021-08-24 06:35:55 +020018 , aeson
Matthias Andreas Benkardf1683f52021-08-24 20:41:41 +020019 , bytestring
20 , co-log
21 , co-log-core
22 , co-log-polysemy
23 , containers
24 , dhall
25 , optparse-applicative
26 , optics
27 , polysemy
28 , recursion-schemes
Matthias Andreas Benkard262110d2021-08-24 06:35:55 +020029 , time
Matthias Andreas Benkardf1683f52021-08-24 20:41:41 +020030 , text
31 , turtle
Matthias Andreas Benkard262110d2021-08-24 06:35:55 +020032
33 default-extensions:
34 BangPatterns
35 BinaryLiterals
36 ConstraintKinds
37 DataKinds
38 DefaultSignatures
39 DeriveAnyClass
40 DeriveDataTypeable
41 DeriveFoldable
42 DeriveFunctor
43 DeriveGeneric
44 DeriveTraversable
45 DerivingStrategies
46 DoAndIfThenElse
47 EmptyDataDecls
48 EmptyDataDeriving
49 ExistentialQuantification
50 FlexibleContexts
51 FlexibleInstances
52 FunctionalDependencies
53 GADTSyntax
54 GADTs
55 GeneralizedNewtypeDeriving
56 InstanceSigs
57 KindSignatures
58 LambdaCase
59 MultiParamTypeClasses
60 MultiWayIf
61 NamedFieldPuns
62 NoImplicitPrelude
63 OverloadedStrings
64 OverloadedLabels
65 PartialTypeSignatures
66 PatternGuards
67 PolyKinds
68 RankNTypes
69 RecordWildCards
70 ScopedTypeVariables
71 StandaloneDeriving
72 TemplateHaskell
73 TupleSections
74 TypeApplications
75 TypeFamilies
76 TypeSynonymInstances
77 ViewPatterns
78
79 ghc-options:
80 -Wall
81 -Wcompat
82 -Widentities
83 -Wincomplete-record-updates
84 -Wincomplete-uni-patterns
85 -Wmissing-deriving-strategies
86 -Wpartial-fields
87 -Wredundant-constraints
88 -fprint-explicit-foralls
89 -fprint-unicode-syntax
90
91
92library
93 import: shared-properties
94 default-language: Haskell2010
95
96 exposed-modules:
97 Mulkup.Bupstash
98 Mulkup.Config
99 Mulkup.Flags
100 Mulkup.Logging
101 Mulkup.Main
102 Mulkup.Prelude
103
104 hs-source-dirs:
105 src
106
107
108executable mulkup
109 import: shared-properties
110 default-language: Haskell2010
111 main-is: Main.hs
112
113 hs-source-dirs:
114 src/bin
115
116 build-depends:
117 , mulkup
118
119
120test-suite mulkup-test
121 type: exitcode-stdio-1.0
122 default-language: Haskell2010
123 hs-source-dirs: test
124 main-is: Main.hs
125
126 other-modules:
127 Mulkup.ConfigSpec
128
129 build-depends:
Matthias Andreas Benkardf1683f52021-08-24 20:41:41 +0200130 , base
131 , tasty
132 , tasty-hunit
133 , tasty-smallcheck
Matthias Andreas Benkard262110d2021-08-24 06:35:55 +0200134 , mulkup