aboutsummaryrefslogtreecommitdiff
path: root/webmaild.cabal
diff options
context:
space:
mode:
authorevuez <julien@mulga.net>2024-04-01 15:17:30 +0200
committerevuez <julien@mulga.net>2024-04-03 22:45:36 +0200
commit985974c264804ff788b3b5242fef707d4b7fa9a6 (patch)
treed80f83db178c3fd1b83b3b749793d47236dde35d /webmaild.cabal
downloadwebmaild-985974c264804ff788b3b5242fef707d4b7fa9a6.tar.gz
Initial commit
Diffstat (limited to 'webmaild.cabal')
-rw-r--r--webmaild.cabal71
1 files changed, 71 insertions, 0 deletions
diff --git a/webmaild.cabal b/webmaild.cabal
new file mode 100644
index 0000000..e2ee85c
--- /dev/null
+++ b/webmaild.cabal
@@ -0,0 +1,71 @@
+cabal-version: 3.0
+name: webmaild
+version: 0.1.0.0
+license: MPL-2.0
+license-file: COPYING
+author: evuez
+maintainer: julien@mulga.net
+build-type: Simple
+
+common warnings
+ ghc-options:
+ -Wall
+ -- -Werror
+ -- -Wall-missed-specialisations
+ -Wcpp-undef
+ -Widentities
+ -Wimplicit-prelude
+ -Wincomplete-record-updates
+ -Wincomplete-uni-patterns
+ -Wmissed-specialisations
+ -- -Wmissing-deriving-strategies
+ -Wmissing-export-lists
+ -Wmissing-exported-signatures
+ -Wmissing-home-modules
+ -- -Wmissing-import-lists
+ -Wmissing-local-signatures
+ -Wmonomorphism-restriction
+ -Wpartial-fields
+ -Wredundant-constraints
+ -Wunused-packages
+ -Wunused-type-patterns
+
+common exe
+ default-extensions:
+ NoImplicitPrelude
+ DuplicateRecordFields
+ OverloadedRecordDot
+ other-modules:
+ Cache
+ Common
+ Common.Mime
+ Html
+ Http
+ Intro
+ Mail
+ Mail.Header
+ Mail.Parser
+ Queue
+ Smtp
+ Tcp
+ Template
+ build-depends: base >=4.17.2.1, network, stm, mtl
+ hs-source-dirs: app,src
+ default-language: Haskell2010
+
+executable webmaild
+ import: warnings
+ import: exe
+ main-is: Main.hs
+ ghc-options:
+ -fno-expose-internal-symbols
+ -O2
+
+executable webmaild-dyn
+ import: warnings
+ import: exe
+ main-is: Main.hs
+ ghc-options:
+ -fno-expose-internal-symbols
+ -O2
+ -dynamic