summaryrefslogtreecommitdiff
path: root/conftrack.cabal
blob: 8e8dabd659ec21b872c3ce3bae590c4a70335c5b (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
cabal-version:      3.4
name:               conftrack
version:            0.0.1
-- synopsis:
-- description:
license:            BSD-3-Clause
license-file:       LICENSE
author:             stuebinm
maintainer:         stuebinm@disroot.org
-- copyright:
category:           Configuration
build-type:         Simple
extra-doc-files:    CHANGELOG.md
-- extra-source-files:

common warnings
    ghc-options: -Wall

library
    import:           warnings
    exposed-modules:  Conftrack
                    , Conftrack.Value
                    , Conftrack.Pretty
                    , Conftrack.Source
                    , Conftrack.Source.Trivial
                    , Conftrack.Source.Aeson
                    , Conftrack.Source.Yaml
                    , Conftrack.Source.Env
    -- other-modules:
    -- other-extensions:
    build-depends:    base ^>=4.18
                    , text >= 2.0.2 && < 2.1
                    , bytestring >= 0.11.5 && < 0.12
                    , containers >= 0.6.7 && < 0.7
                    , mtl >= 2.3.1 && < 2.4
                    , transformers >= 0.6.1 && < 0.7
                    , aeson >= 2.2.2 && < 2.3
                    , yaml >= 0.11.11 && < 0.12
                    , scientific >= 0.3.8 && < 0.4
                    , filepath ^>= 1.4.100
                    , file-io >= 0.1.1 && < 0.2
                    , template-haskell >= 2.20.0 && < 2.21
                    , directory >= 1.3.8 && < 1.4
    hs-source-dirs:   src
    default-language: GHC2021

test-suite conftrack-test
    import:           warnings
    default-language: GHC2021
    -- other-modules:
    -- other-extensions:
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:
        base ^>=4.18,
        conftrack,
        containers,
        text,
        aeson,
        QuickCheck,
        quickcheck-instances