Use Template Haskell to embed file contents directly.
Haskell Shell
Latest commit bef4eeb Jun 16, 2016 @snoyberg committed on GitHub Merge pull request #19 from seagreen/fix-comment
Fix comment.
Permalink
Failed to load latest commit information.
Data
sample
test
.gitignore Add stack.yaml Aug 13, 2015
.travis.yml
ChangeLog.md Add makeRelativeToProject (fixes #18) Apr 21, 2016
LICENSE
README.md Make summary more accurate; minor cleanup. Feb 25, 2015
Setup.lhs
file-embed.cabal
inject.hs Injection May 27, 2011
mkbin.hs
runtests.hs
stack.yaml
template.hs Injection May 27, 2011
test-inject.sh
test.hs Initial working version with sample, undocumented Jul 23, 2009

README.md

file-embed

Use Template Haskell to read a file or all the files in a directory, and turn them into (path, bytestring) pairs embedded in your haskell code.