summaryrefslogtreecommitdiff
path: root/minici.cabal
blob: a361cd3f52bdb7fdebff1b8a52b9b5ba3727d2d6 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
cabal-version:      3.0
name:               minici
version:            0.1.1
synopsis:

-- A longer description of the package.
-- description:
homepage:

-- A URL where users can report bugs.
-- bug-reports:
license:            GPL-3.0-or-later
license-file:       LICENSE
author:             Roman Smrž
maintainer:         roman.smrz@seznam.cz

-- A copyright notice.
-- copyright:
-- category:
extra-doc-files:
    CHANGELOG.md

flag ci
    description:    Options for CI testing
    default: False
    manual: True

executable minici
    main-is:          Main.hs

    ghc-options:
        -Wall
        -threaded
        -fdefer-typed-holes

    if flag(ci)
        ghc-options:
            -Werror
            -- sometimes needed for backward/forward compatibility:
            -Wno-error=unused-imports

    -- Modules included in this executable, other than Main.
    other-modules:
        Command
        Command.Run
        Config
        Job
        Paths_minici
        Version
        Version.Git

    default-extensions:
        DefaultSignatures
        ExistentialQuantification
        FlexibleContexts
        FlexibleInstances
        GADTs
        GeneralizedNewtypeDeriving
        ImportQualifiedPost
        LambdaCase
        MultiParamTypeClasses
        MultiWayIf
        OverloadedStrings
        ScopedTypeVariables
        TupleSections
        TypeApplications
        TypeFamilies

    other-extensions:
        TemplateHaskell

    build-depends:    base              >=4.15 && <5
                    , bytestring        >=0.10 && <0.12
                    , containers        >=0.6 && <0.7
                    , directory >=1.3 && <1.4
                    , exceptions >=0.10 && <0.11
                    , filepath >=1.4 && <1.5
                    , HsYAML    >=0.2 && <0.3
                    , mtl >=2.2 && <2.3
                    , parser-combinators >=1.3 && <1.4
                    , process >=1.6 && <1.7
                    , stm >=2.5 && <2.6
                    , template-haskell  >=2.17 && <2.19
                    , text >=1.2 && <2.1
                    , th-compat         >=0.1 && <0.2
    hs-source-dirs:   src
    default-language: Haskell2010