on master help sign in
Re #194: README: include build instructions for json2yaml and yaml2json

These executables haven't been mentioned in README so far.

commit58a883cdfae26b113578760cc55b044200a5f05d authorAndreas Abel <andreas.abel@ifi.lmu.de> dateWed 15 Sep 2021, 09:55 (5 years ago) parent90e3cd2
1 file changed+8
yaml/README.md+8
yaml/README.md+8
@@ -16,3 +16,11 @@ Usage examples can be found in the `Data.Yaml` documentation or in the [examples
1616* `Data.Yaml.Include` supports adding `!include` directives to your YAML files.
1717* `Data.Yaml.Builder` and `Data.Yaml.Parser` allow more fine-grained control of parsing an rendering, as opposed to just using the aeson typeclass and datatype system for parsing and rendering.
1818* `Data.Yaml.Aeson` is currently a re-export of `Data.Yaml` to explicitly choose to use the aeson-compatible API.
19+
20+### Executables
21+
22+Converters `json2yaml` and `yaml2json` can be built by disabling flag `no-exe`, e.g., one of:
23+```
24+cabal install yaml -f-no-exe
25+stack install yaml --flag yaml:-no-exe
26+```