summaryrefslogtreecommitdiff
path: root/conftrack.cabal
blob: 952aac6c9c4d7107c61af5c4934de5c78290cfa3 (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
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.Source
                    , Conftrack.Source.Trivial
                    , Conftrack.Source.Aeson
                    , Conftrack.Source.Yaml
                    , Conftrack.Source.Env
    -- other-modules:
    -- other-extensions:
    build-depends:    base ^>=4.18
                    , text
                    , bytestring
                    , containers
                    , mtl
                    , transformers
                    , aeson >= 2.0
                    , yaml
                    , scientific
                    , filepath ^>= 1.4.100
                    , file-io
                    , template-haskell
                    , directory
    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