blob: 3c06e38069ac525cfbf88372a0f1ff5286735742 [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
Matthias Andreas Benkard178f9912024-08-30 18:44:51 +0200103 Mulkup.Ranking
Matthias Andreas Benkard262110d2021-08-24 06:35:55 +0200104
105 hs-source-dirs:
106 src
107
108
109executable mulkup
110 import: shared-properties
111 default-language: Haskell2010
112 main-is: Main.hs
113
114 hs-source-dirs:
115 src/bin
116
117 build-depends:
118 , mulkup
119
120
121test-suite mulkup-test
122 type: exitcode-stdio-1.0
123 default-language: Haskell2010
124 hs-source-dirs: test
125 main-is: Main.hs
126
127 other-modules:
128 Mulkup.ConfigSpec
129
130 build-depends:
Matthias Andreas Benkardf1683f52021-08-24 20:41:41 +0200131 , base
132 , tasty
133 , tasty-hunit
134 , tasty-smallcheck
Matthias Andreas Benkard262110d2021-08-24 06:35:55 +0200135 , mulkup