summaryrefslogtreecommitdiffstats
path: root/much.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'much.cabal')
-rw-r--r--much.cabal42
1 files changed, 15 insertions, 27 deletions
diff --git a/much.cabal b/much.cabal
index cb6b989..9615dee 100644
--- a/much.cabal
+++ b/much.cabal
@@ -1,19 +1,23 @@
+cabal-version: 3.8
name: much
-version: 1.3.1
+version: 1.4.0
license: MIT
author: tv <tv@krebsco.de>
maintainer: tv@krebsco.de
build-type: Simple
-cabal-version: >=1.10
-executable much-tv
- hs-source-dirs: config
- main-is: tv.hs
+common common-stuff
+ build-depends:
+ blessings >= 2.5.0
+
+executable much
+ import: common-stuff
+ hs-source-dirs: app
+ main-is: much.hs
default-language: Haskell2010
ghc-options: -O2 -threaded -with-rtsopts=-N
build-depends: much
, base
- , blessings
, data-default
, deepseq
, transformers
@@ -21,7 +25,7 @@ executable much-tv
, case-insensitive
, time
, safe
- , scanner
+ , terminal-scanner
, directory
, hyphenation
, linebreak
@@ -31,25 +35,8 @@ executable much-tv
, containers
, rosezipper
-executable much-kmein
- hs-source-dirs: config
- main-is: kmein.hs
- default-language: Haskell2010
- ghc-options: -O2 -threaded -with-rtsopts=-N
- build-depends: much
- , base
- , blessings
- , bytestring
- , data-default
- , directory
- , filepath
- , process
- , rosezipper
- , scanner
- , text
- , unix
-
library
+ import: common-stuff
hs-source-dirs: src
exposed-modules: Much.Core
, Much.Action
@@ -79,12 +66,12 @@ library
, Codec.MIME.QuotedPrintable
, Codec.MIME.Type
, Data.Aeson.Extends
+ , Data.Tree.Extra
build-depends: base
, aeson
, attoparsec
, base64-bytestring
, blaze-builder
- , blessings
, bytestring
, case-insensitive
, containers
@@ -102,12 +89,13 @@ library
, old-locale
, optparse-applicative
, process
+ , process-extras
, random
, rosezipper
, safe
- , scanner
, servant-server
, split
+ , terminal-scanner
, terminal-size
, text
, time