aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Data.hs
AgeCommit message (Collapse)AuthorFilesLines
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.