Skip to content

Commit

Permalink
Version bump for #14
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Aug 14, 2015
1 parent c421af7 commit 2964c07
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.9

* embedStringFile [#14](https://github.com/snoyberg/file-embed/pull/14)

## 0.0.8.2

* Improve inject documentation [#11](https://github.com/snoyberg/file-embed/issues/11)
Expand Down
4 changes: 4 additions & 0 deletions Data/FileEmbed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ stringToBs = B8.pack
-- >
-- > myFile :: IsString a => a
-- > myFile = $(embedStringFile "dirName/fileName")
--
-- Since 0.0.9
embedStringFile :: FilePath -> Q Exp
embedStringFile fp =
#if MIN_VERSION_template_haskell(2,7,0)
Expand All @@ -165,6 +167,8 @@ embedStringFile fp =

-- | Embed a single existing string file in your source code
-- out of list a list of paths supplied.
--
-- Since 0.0.9
embedOneStringFileOf :: [FilePath] -> Q Exp
embedOneStringFileOf ps =
(runIO $ readExistingFile ps) >>= \ ( path, content ) -> do
Expand Down
2 changes: 1 addition & 1 deletion file-embed.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: file-embed
version: 0.0.8.2
version: 0.0.9
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
Expand Down

0 comments on commit 2964c07

Please sign in to comment.