aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2020-04-17 17:28:55 -0700
committerJohn MacFarlane <[email protected]>2020-04-17 22:55:44 -0700
commit3eb9e1b8bd6eec9b96ab1da230b90d635970607e (patch)
treedab56cee01110319f9f981c55aeb9e0f9993cac0 /pandoc.cabal
parent8f40b4ba14fce10199a059a281c9bd10c884241d (diff)
Fooling around with a new setup for Text.Pandoc.Data.initialize-data-files
It is Now an exported module, exporting initializeDataFiles which must be run in PandocMonad if you are going to be looking for any data files. The point of this is to decouple pandoc's data from "pandoc-core," including the infrastructure for PandocMonad.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal2
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 7c74a26f0..dc83f856e 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -452,7 +452,6 @@ library
if flag(embed_data_files)
cpp-options: -DEMBED_DATA_FILES
build-depends: file-embed >= 0.0 && < 0.1
- other-modules: Text.Pandoc.Data
if os(windows)
cpp-options: -D_WINDOWS
ghc-options: -Wall -fno-warn-unused-do-bind
@@ -476,6 +475,7 @@ library
exposed-modules: Text.Pandoc,
Text.Pandoc.App,
+ Text.Pandoc.Data,
Text.Pandoc.Options,
Text.Pandoc.Extensions,
Text.Pandoc.Shared,