aboutsummaryrefslogtreecommitdiff
path: root/config-manager.cabal
blob: d6ed354c4105b8a4ecef6b823d72da0b1deb76f4 (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
name:                config-manager
version:             0.1.0.0
synopsis:            Configuration management
description:         A configuration management library
homepage:            https://gitlab.com/guyonvarch/config-manager
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.Config
  other-modules:       Data.ConfigManager.Reader
                       Data.ConfigManager.Parser
                       Data.ConfigManager.Expr
  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:
  ghc-options:         -Wall
  build-depends:       base < 5,
                       text,
                       unordered-containers,
                       parsec,
                       filepath
  default-language:    Haskell2010

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