blob: e5f5976eac1f7806df2e3dad6a6b3d1fd2f4855f [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:
16 , base ^>= 4.15.0
17 , relude ^>= 1.0.0.0
18 , aeson
19 , bytestring ^>= 0.10
20 , co-log ^>= 0.4
21 , co-log-core ^>= 0.2.1
22 , co-log-polysemy ^>= 0.0.1
23 , dhall ^>= 1.39
24 , optparse-applicative >= 0.15 && < 0.17
25 , optics ^>= 0.4
26 , polysemy >= 1.3 && < 1.7
27 , recursion-schemes ^>= 5.2
28 , time
29 , text ^>= 1.2
30 , turtle ^>= 1.5.20
31
32 default-extensions:
33 BangPatterns
34 BinaryLiterals
35 ConstraintKinds
36 DataKinds
37 DefaultSignatures
38 DeriveAnyClass
39 DeriveDataTypeable
40 DeriveFoldable
41 DeriveFunctor
42 DeriveGeneric
43 DeriveTraversable
44 DerivingStrategies
45 DoAndIfThenElse
46 EmptyDataDecls
47 EmptyDataDeriving
48 ExistentialQuantification
49 FlexibleContexts
50 FlexibleInstances
51 FunctionalDependencies
52 GADTSyntax
53 GADTs
54 GeneralizedNewtypeDeriving
55 InstanceSigs
56 KindSignatures
57 LambdaCase
58 MultiParamTypeClasses
59 MultiWayIf
60 NamedFieldPuns
61 NoImplicitPrelude
62 OverloadedStrings
63 OverloadedLabels
64 PartialTypeSignatures
65 PatternGuards
66 PolyKinds
67 RankNTypes
68 RecordWildCards
69 ScopedTypeVariables
70 StandaloneDeriving
71 TemplateHaskell
72 TupleSections
73 TypeApplications
74 TypeFamilies
75 TypeSynonymInstances
76 ViewPatterns
77
78 ghc-options:
79 -Wall
80 -Wcompat
81 -Widentities
82 -Wincomplete-record-updates
83 -Wincomplete-uni-patterns
84 -Wmissing-deriving-strategies
85 -Wpartial-fields
86 -Wredundant-constraints
87 -fprint-explicit-foralls
88 -fprint-unicode-syntax
89
90
91library
92 import: shared-properties
93 default-language: Haskell2010
94
95 exposed-modules:
96 Mulkup.Bupstash
97 Mulkup.Config
98 Mulkup.Flags
99 Mulkup.Logging
100 Mulkup.Main
101 Mulkup.Prelude
102
103 hs-source-dirs:
104 src
105
106
107executable mulkup
108 import: shared-properties
109 default-language: Haskell2010
110 main-is: Main.hs
111
112 hs-source-dirs:
113 src/bin
114
115 build-depends:
116 , mulkup
117
118
119test-suite mulkup-test
120 type: exitcode-stdio-1.0
121 default-language: Haskell2010
122 hs-source-dirs: test
123 main-is: Main.hs
124
125 other-modules:
126 Mulkup.ConfigSpec
127
128 build-depends:
129 , base ^>= 4.15.0
130 , tasty ^>= 1.4
131 , tasty-hunit ^>= 0.10
132 , tasty-smallcheck ^>= 0.8
133 , mulkup