@@ -24,10 +24,14 @@ homepage: http://github.com/snoyberg/yaml/
24extra-source-files: c/helper.h,
24extra-source-files: c/helper.h,
25 libyaml/yaml_private.h,
25 libyaml/yaml_private.h,
26 libyaml/yaml.h,
26 libyaml/yaml.h,
27− libyaml/LICENSE
27+ libyaml/LICENSE
29 test/largest-string.yaml
28 test/largest-string.yaml
30 test/json.yaml
29 test/json.yaml
30+ test/resources/foo.yaml
31+ test/resources/bar.yaml
32+ test/resources/baz.yaml
33+ test/resources/loop/foo.yaml
34+ test/resources/loop/bar.yaml
32flag no-exe
36flag no-exe
33 description: don't install the yaml2json or json2yaml executables
37 description: don't install the yaml2json or json2yaml executables
@@ -54,11 +58,14 @@ library
55 , attoparsec
59 , attoparsec
56 , scientific
60 , scientific
57 exposed-modules: Text.Libyaml
63 exposed-modules: Text.Libyaml
59 Data.Yaml.Aeson
65 Data.Yaml.Aeson
60 Data.Yaml.Builder
66 Data.Yaml.Builder
61 Data.Yaml.Parser
67 Data.Yaml.Parser
62 ghc-options: -Wall
69 ghc-options: -Wall
63 c-sources: c/helper.c
70 c-sources: c/helper.c
64 include-dirs: c
71 include-dirs: c
@@ -104,10 +111,12 @@ executable json2yaml
104 , aeson >= 0.5
111 , aeson >= 0.5
107−test-suite test
114+test-suite spec
108 type: exitcode-stdio-1.0
115 type: exitcode-stdio-1.0
109 hs-source-dirs: test
116 hs-source-dirs: test
110− main-is: main.hs
117+ main-is: Spec.hs
118+ other-modules: Data.YamlSpec
119+ Data.Yaml.IncludeSpec
111 cpp-options: -DTEST
120 cpp-options: -DTEST
112 build-depends: hspec >= 1.3
121 build-depends: hspec >= 1.3
@@ -122,6 +131,7 @@ test-suite test
122 , unordered-containers
131 , unordered-containers
124 , resourcet
133 , resourcet
125 ghc-options: -Wall
135 ghc-options: -Wall
127source-repository head
137source-repository head