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 |
| 103 | |
| 104 | hs-source-dirs: |
| 105 | src |
| 106 | |
| 107 | |
| 108 | executable 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 | |
| 120 | test-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 Benkard | f1683f5 | 2021-08-24 20:41:41 +0200 | [diff] [blame] | 130 | , base |
| 131 | , tasty |
| 132 | , tasty-hunit |
| 133 | , tasty-smallcheck |
Matthias Andreas Benkard | 262110d | 2021-08-24 06:35:55 +0200 | [diff] [blame] | 134 | , mulkup |