Use Template Haskell to embed file contents directly.
Go to file
2018-07-29 10:30:14 +03:00
Data Add version 0.0.11 2018-07-27 10:38:41 -04:00
sample Slightly cleaned up tests 2011-05-27 07:56:35 +03:00
test Fix CRLF test on Windows 2018-07-24 11:28:38 +03:00
.gitignore CI update 2018-07-24 08:28:07 +03:00
.travis.yml CI update 2018-07-24 08:28:07 +03:00
appveyor.yml Don't be pedantic 2018-07-29 10:30:14 +03:00
ChangeLog.md Add version 0.0.11 2018-07-27 10:38:41 -04:00
file-embed.cabal Add version 0.0.11 2018-07-27 10:38:41 -04:00
inject.hs Injection 2011-05-27 08:23:17 +03:00
LICENSE Initial working version with sample, undocumented 2009-07-23 21:42:43 +03:00
mkbin.hs Slightly cleaned up tests 2011-05-27 07:56:35 +03:00
README.md CI update 2018-07-24 08:28:07 +03:00
runtests.hs Slightly cleaned up tests 2011-05-27 07:56:35 +03:00
Setup.lhs Initial working version with sample, undocumented 2009-07-23 21:42:43 +03:00
stack.yaml Newer LTS 2017-09-14 12:41:40 +03:00
template.hs Injection 2011-05-27 08:23:17 +03:00
test-inject.sh Injection 2011-05-27 08:23:17 +03:00
test.hs Initial working version with sample, undocumented 2009-07-23 21:42:43 +03:00

file-embed

Build Status Build status

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.