Use Template Haskell to embed file contents directly.
Go to file
2015-02-25 00:41:25 -05:00
Data Version bump 2015-02-04 17:44:20 +02:00
sample Slightly cleaned up tests 2011-05-27 07:56:35 +03:00
test Use CRLF for Windows compatibility 2012-12-30 08:33:47 +02:00
.gitignore Initial working version with sample, undocumented 2009-07-23 21:42:43 +03:00
ChangeLog.md Make summary more accurate; minor cleanup. 2015-02-25 00:41:25 -05:00
file-embed.cabal Make summary more accurate; minor cleanup. 2015-02-25 00:41:25 -05: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 Make summary more accurate; minor cleanup. 2015-02-25 00:41:25 -05: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
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

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.