summaryrefslogtreecommitdiff
path: root/minici.cabal
blob: ec714eb4c5cc4a87114e04bef47f6bcc0750633b (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
88
89
90
91
92
93
94
95
96
97
98
cabal-version:      3.0
name:               minici
version:            0.1.1
synopsis:           Minimalist CI framework to run checks on local machine
description:
    Runs defined jobs, for example to build and test a project, for each git
    commit in a given set and reports results. The jobs are configured in
    a simple YAML file and can produce artifacts to be used in other steps.
homepage:           https://erebosprotocol.net/minici

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

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

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

source-repository head
    type:       git
    location:   git://erebosprotocol.net/minici

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

    other-modules:
        Command
        Command.Run
        Config
        Job
        Paths_minici
        Version
        Version.Git
    autogen-modules:
        Paths_minici

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

    other-extensions:
        TemplateHaskell

    build-depends:
        base ^>= { 4.15, 4.16, 4.17, 4.18, 4.19, 4.20 },
        bytestring ^>= { 0.10, 0.11, 0.12 },
        containers ^>= { 0.6, 0.7 },
        directory ^>= { 1.3 },
        exceptions ^>= { 0.10 },
        filepath ^>= { 1.4, 1.5 },
        HsYAML ^>= { 0.2 },
        mtl ^>= { 2.2, 2.3 },
        parser-combinators ^>= { 1.3 },
        process ^>= { 1.6 },
        stm ^>= { 2.5 },
        template-haskell ^>= { 2.17, 2.18, 2.19, 2.20, 2.21, 2.22 },
        text ^>= { 1.2, 2.0, 2.1 },
        th-compat ^>= { 0.1 },

    hs-source-dirs:   src
    default-language: Haskell2010