aboutsummaryrefslogtreecommitdiff
path: root/webmaild.cabal
blob: e2ee85c02b67bb3aba11380f580cb693a2723d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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