aboutsummaryrefslogtreecommitdiff
path: root/uncron.cabal
blob: cbeec89e719a9c98c7e3562f11ce068918743846 (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
cabal-version:      3.0
name:               uncron
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
      LambdaCase
    other-modules:
      Intro
      Common
      Cron
      Cron.Expr
      Cron.Schedule
      Cron.Parser
    build-depends: base >=4.17.2.1
    hs-source-dirs: app,src
    default-language: Haskell2010

executable uncron
    import: warnings
    import: exe
    main-is: Main.hs
    ghc-options:
      -fno-expose-internal-symbols
      -O2

executable uncron-dyn
    import: warnings
    import: exe
    main-is: Main.hs
    ghc-options:
      -fno-expose-internal-symbols
      -O2
      -dynamic