/
configurator-export.cabal
76 lines (73 loc) · 3 KB
/
configurator-export.cabal
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
65
66
67
68
69
70
71
72
73
74
75
76
name: configurator-export
version: 0.1.0.1
synopsis: Pretty printer and exporter for configurations from
the "configurator" library.
description: Pretty printers and exporters for 'Config's from the
<http://hackage.haskell.org/package/configurator-0.3.0.0 configurator>
library, in "Data.Configurator".
.
All results are intended to be valid parsing files in the
configuration file syntax of the library.
.
For a full round trip:
.
> main = do
> cfg <- load [Required "config.cfg"]
> writeConf "config.cfg" cfg
.
This should load the config file, parse it, and then
re-export it, rewriting the original config file. The
result should be an identical configuration file (with
keys potentially re-arranged and re-sorted, comments
removed, etc.)
.
See the "Data.Configurator.Export" module for more
details and ways to modify the output style.
.
Documentation maintained at <https://mstksg.github.io/configurator-export>
homepage: http://github.com/mstksg/configurator-export
license: BSD3
license-file: LICENSE
author: Justin Le
maintainer: justin@jle.im
copyright: (c) Justin Le 2016
category: Configuration, Data
build-type: Simple
extra-source-files: README.md
CHANGELOG.md
stack.yaml
cabal-version: >=1.10
tested-with: GHC >= 8.0
library
hs-source-dirs: src
exposed-modules: Data.Configurator.Export
if impl(ghc >= 7.10)
build-depends: base >= 4.8 && < 5
, base-compat >= 0.10.5
, configurator
, pretty
, semigroups >= 0.17
, text
, unordered-containers
else
build-depends: base >= 4.6 && < 5
, bifunctors
, base-compat
, configurator
, pretty
, semigroups >= 0.17
, text
, unordered-containers
ghc-options: -Wall
default-language: Haskell2010
test-suite configurator-export-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
, configurator-export
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/mstksg/configurator-export