Matthias Andreas Benkard | 262110d | 2021-08-24 06:35:55 +0200 | [diff] [blame] | 1 | cabal-version: 3.0 |
| 2 | name: mulkup |
| 3 | version: 0.1.0.0 |
| 4 | license: NONE |
| 5 | copyright: 2021 Matthias Andreas Benkard |
| 6 | maintainer: code@mail.matthias.benkard.de |
| 7 | author: Matthias Andreas Benkard |
| 8 | |
| 9 | |
| 10 | common shared-properties |
| 11 | default-language: Haskell2010 |
| 12 | -- tested-with: |
| 13 | -- GHC == 9.0.1 |
| 14 | |
| 15 | build-depends: |
Matthias Andreas Benkard | f1683f5 | 2021-08-24 20:41:41 +0200 | [diff] [blame] | 16 | , base |
| 17 | , relude |
Matthias Andreas Benkard | 262110d | 2021-08-24 06:35:55 +0200 | [diff] [blame] | 18 | , aeson |
Matthias Andreas Benkard | f1683f5 | 2021-08-24 20:41:41 +0200 | [diff] [blame] | 19 | , 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 Benkard | 262110d | 2021-08-24 06:35:55 +0200 | [diff] [blame] | 29 | , time |
Matthias Andreas Benkard | f1683f5 | 2021-08-24 20:41:41 +0200 | [diff] [blame] | 30 | , text |
| 31 | , turtle |
Matthias Andreas Benkard | 262110d | 2021-08-24 06:35:55 +0200 | [diff] [blame] | 32 | |
| 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 | |
| 92 | library |
| 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 Benkard | 178f991 | 2024-08-30 18:44:51 +0200 | [diff] [blame^] | 103 | Mulkup.Ranking |
Matthias Andreas Benkard | 262110d | 2021-08-24 06:35:55 +0200 | [diff] [blame] | 104 | |
| 105 | hs-source-dirs: |
| 106 | src |
| 107 | |
| 108 | |
| 109 | executable 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 | |
| 121 | test-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 Benkard | f1683f5 | 2021-08-24 20:41:41 +0200 | [diff] [blame] | 131 | , base |
| 132 | , tasty |
| 133 | , tasty-hunit |
| 134 | , tasty-smallcheck |
Matthias Andreas Benkard | 262110d | 2021-08-24 06:35:55 +0200 | [diff] [blame] | 135 | , mulkup |