aboutsummaryrefslogtreecommitdiff
path: root/config-manager.cabal
blob: 0dcb3ce9979cb431be56adf76344fe0a41bf7811 (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
name:                  config-manager
version:               0.3.0.1
synopsis:              Configuration management
description:
  A configuration management library which supports:
  .
  * name-value bindings,
  .
  * required or optional imports,
  .
  * comments.
  .
  For details of the configuration file format, see
  <http://hackage.haskell.org/packages/archive/config-manager/latest/doc/html/Data-ConfigManager.html>.
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.Instances
                       Data.ConfigManager.Types.Internal
                       Data.ConfigManager.Parser.Duration
  ghc-options:         -Wall
  build-depends:       base < 5,
                       text,
                       unordered-containers,
                       parsec,
                       filepath,
                       time
  default-language:    Haskell2010

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

Test-Suite test-config-manager
  other-modules:       Helper
  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,
                       time
  default-language:    Haskell2010