aboutsummaryrefslogtreecommitdiff
path: root/config-manager.cabal
blob: 6dcf25edb8d77bd22ccc6302186e6071fb5db2eb (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
name:                  config-manager
version:               0.1.0.0
synopsis:              Configuration management
description:
  A configuration management library which supports:
  .
  * name-value bindings,
  .
  * required or optional imports,
  .
  * comments.
homepage:              https://gitlab.com/guyonvarch/config-manager
bug-reports:           https://gitlab.com/guyonvarch/config-manager/issues
license:               GPL-3
license-file:          LICENSE
author:                Joris Guyonvarch
maintainer:            joris@guyonvarch.me
category:              Configuration, Data
build-type:            Simple
cabal-version:         >=1.10

data-files:            tests/resources/*.conf

library
  exposed-modules:     Data.ConfigManager,
                       Data.ConfigManager.Types
  other-modules:       Data.ConfigManager.Reader
                       Data.ConfigManager.Parser
                       Data.ConfigManager.Types.Internal
  ghc-options:         -Wall -Werror
  build-depends:       base < 5,
                       text,
                       unordered-containers,
                       parsec,
                       filepath
  default-language:    Haskell2010

source-repository      head
  type:                git
  location:            https://gitlab.com/guyonvarch/config-manager

Test-Suite test-config-manager
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests
  main-is:             Test.hs
  ghc-options:         -Wall -fno-warn-type-defaults
  build-depends:       base,
                       text,
                       config-manager,
                       HUnit,
                       test-framework,
                       test-framework-hunit,
                       temporary,
                       directory,
                       unordered-containers
  default-language:    Haskell2010