summaryrefslogtreecommitdiffstats
path: root/much.cabal
diff options
context:
space:
mode:
authorKierán Meinhardt <kieran.meinhardt@gmail.com>2020-09-23 17:44:40 +0200
committerKierán Meinhardt <kieran.meinhardt@gmail.com>2020-09-23 17:44:40 +0200
commit8e92e6e11d2b3b0bfb5ac9d68f347219493e6380 (patch)
tree6484ca42d85ca89475e922f7b45039c116ebbf97 /much.cabal
parent6a6ad3aecd53ffd89101a0dee2b4ea576d4964d4 (diff)
split into library + executables
Diffstat (limited to 'much.cabal')
-rw-r--r--much.cabal129
1 files changed, 96 insertions, 33 deletions
diff --git a/much.cabal b/much.cabal
index be63cb1..b0cdec9 100644
--- a/much.cabal
+++ b/much.cabal
@@ -6,38 +6,101 @@ maintainer: tv@krebsco.de
build-type: Simple
cabal-version: >=1.10
-executable much
- main-is: test5.hs
- build-depends: base
- , aeson
- , attoparsec
- , base64-bytestring
- , blaze-builder
- , blessings
- , bytestring
- , case-insensitive
- , containers
- , deepseq
- , directory
- , docopt
- , email-header
- , filepath
- , friendly-time
- , hyphenation
- , linebreak
- , old-locale
- , process
- , random
- , rosezipper
- , safe
- , scanner
- , split
- , terminal-size
- , text
- , time
- , transformers
- , transformers-compat
- , unix
- , vector
+executable much-tv
+ hs-source-dirs: config
+ main-is: tv.hs
+ default-language: Haskell2010
+ ghc-options: -O2 -threaded -with-rtsopts=-N
+ build-depends: much
+ , base
+ , blessings
+ , deepseq
+ , transformers
+ , aeson
+ , case-insensitive
+ , time
+ , safe
+ , scanner
+ , directory
+ , hyphenation
+ , linebreak
+ , bytestring
+ , process
+ , text
+ , 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
+ , unix
+ , scanner
+ , blessings
+ , hyphenation
+ , linebreak
+ , containers
+ , rosezipper
+
+library
+ hs-source-dirs: src
+ exposed-modules: Much.Core
+ , Much.Action
+ , Much.Event
+ , Much.ParseMail
+ , Much.RenderTreeView
+ , Much.Screen
+ , Much.State
+ , Much.TagUtils
+ , Much.TreeSearch
+ , Much.TreeView
+ , Much.TreeView.Types
+ , Much.TreeZipperUtils
+ , Much.Utils
+ , Network.Mail.Mime
+ , Notmuch
+ , Notmuch.Class
+ , Notmuch.Message
+ , Notmuch.SearchResult
+ other-modules: Codec.MIME.Base64
+ , Codec.MIME.Decode
+ , Codec.MIME.Parse
+ , Codec.MIME.QuotedPrintable
+ , Codec.MIME.Type
+ , Data.Aeson.Extends
+ build-depends: base
+ , aeson
+ , attoparsec
+ , base64-bytestring
+ , blaze-builder
+ , blessings
+ , bytestring
+ , case-insensitive
+ , containers
+ , deepseq
+ , directory
+ , docopt
+ , email-header
+ , filepath
+ , friendly-time
+ , hyphenation
+ , linebreak
+ , old-locale
+ , process
+ , random
+ , rosezipper
+ , safe
+ , scanner
+ , split
+ , terminal-size
+ , text
+ , time
+ , transformers
+ , transformers-compat
+ , unix
+ , vector
default-language: Haskell2010
ghc-options: -O2 -Wall -threaded