aboutsummaryrefslogtreecommitdiff
path: root/stack.yaml
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2019-10-10 13:54:58 -0700
committerJohn MacFarlane <[email protected]>2019-10-10 23:21:18 -0700
commit7388cd3e7a49297a7368a7e77d8f2d86d6965006 (patch)
tree30d482dbad6494a4e6239f37afb1bac496c93b6e /stack.yaml
parent25239414537949486b7feaf7e05336aff0535cf8 (diff)
Improve parsing of --defaults.
- Add FromYAML instances to Opt and to all subsidiary types. - Remove the use of HsYAML-aeson, which doesn't give good position information on errors. - Rename some fields in Opt to better match cli options or reflect what the ycontain [API change]: + optMetadataFile -> optMetadataFiles + optPDFEngineArgs -> optPDFEngineOpts + optWrapText -> optWrap - Add IpynbOutput enumerated type to Text.Pandoc.App.Opts. Use this instead fo a string for optIpynbOutput. - Add FromYAML instance for Filter in Text.Pandoc.Filters. With these changes parsing of defaults files should be complete and should give decent error messages. Now (unlike before) we get an error if an unknown field is used.
Diffstat (limited to 'stack.yaml')
-rw-r--r--stack.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/stack.yaml b/stack.yaml
index b27112e90..a828abab8 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -21,10 +21,9 @@ extra-deps:
- regex-pcre-builtin-0.95.0.8.8.35
- doclayout-0.1
- HsYAML-0.2.0.0
-- HsYAML-aeson-0.2.0.0
# - doctemplates-0.6.1
- git: https://github.com/jgm/doctemplates.git
- commit: 8c30b5955584ff96459999c4958e8a953fed214f
+ commit: 180a5e9318e3cee44c6581f6d8ace14de684b735
ghc-options:
"$locals": -fhide-source-paths -Wno-missing-home-modules
resolver: lts-14.6