From 985974c264804ff788b3b5242fef707d4b7fa9a6 Mon Sep 17 00:00:00 2001 From: evuez Date: Mon, 1 Apr 2024 15:17:30 +0200 Subject: Initial commit --- webmaild.cabal | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 webmaild.cabal (limited to 'webmaild.cabal') 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 -- cgit v1.2.3