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

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.