aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Data.hs
AgeCommit message (Collapse)AuthorFilesLines
2017-04-02Make sure docx/_rels/.rels gets into data files.John MacFarlane1-1/+5
embedDir in file-embed excludes hidden files, so we need to add this manually.
2017-04-02Revert "Revert "Use file-embed instead of hsb2hs to embed data files.""John MacFarlane1-0/+17
This reverts commit 1fa15c225b515e1fa1c6566f90f1be363a4d770f.
2017-03-26Revert "Use file-embed instead of hsb2hs to embed data files."John MacFarlane1-17/+0
This reverts commit 10d91c147968d2e4d63b99b5b0342624827f416f.
2017-03-26Revert "Text.Pandoc.Data: ensure it compiles even without embed_data_files."John MacFarlane1-11/+3
This reverts commit 453970c6b34ed7cc2f52181e5e77b9182a3639e9.
2017-03-26Text.Pandoc.Data: ensure it compiles even without embed_data_files.John MacFarlane1-3/+11
In this case we don't depend on file-embed or use TH.
2017-03-26Use file-embed instead of hsb2hs to embed data files.John MacFarlane1-0/+17
I think template haskell is robust enough now across platforms that this will work. Motivation: file-embed gives us better dependency tracking: if a data file changes, ghc/stack/cabal know to recompile the Data module. This also removes hsb2hs as a build dependency.
2013-01-23Use hsb2hs preprocessor instead of TH for embed_data_files.John MacFarlane1-7/+0
This should work on Windows, unlike the TH solution with file-embed.
2013-01-23Added Text.Pandoc.Data (non-exported) if embed_data_files selected.John MacFarlane1-0/+7
This module just exports the association list of embedded data files, which is used by Shared.