Use Template Haskell to embed file contents directly.
Go to file
2016-06-16 07:17:59 +03:00
Data Fix comment. 2016-06-15 23:28:46 -04:00
sample Slightly cleaned up tests 2011-05-27 07:56:35 +03:00
test Enable tests on ghc 6.12.3 2015-08-14 09:47:56 +03:00
.gitignore Add stack.yaml 2015-08-13 23:43:51 +03:00
.travis.yml Remove GHC 6.12.3 2016-02-16 09:49:11 +02:00
ChangeLog.md Add makeRelativeToProject (fixes #18) 2016-04-21 11:03:54 +03:00
file-embed.cabal Add makeRelativeToProject (fixes #18) 2016-04-21 11:03:54 +03: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
stack.yaml Add stack.yaml 2015-08-13 23:43:51 +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.