diff --git a/ChangeLog.md b/ChangeLog.md index 582f1b5..9749c26 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,9 @@ # ChangeLog for file-embed +## 0.0.15.1 + +* Add `embedFileRelative` + ## 0.0.15.0 * Add `makeRelativeToLocationPredicate` diff --git a/Data/FileEmbed.hs b/Data/FileEmbed.hs index d3d66fa..befcb31 100644 --- a/Data/FileEmbed.hs +++ b/Data/FileEmbed.hs @@ -93,6 +93,7 @@ embedFile fp = -- | Embed a file file in your source code. -- Unlike 'embedFile', path is given relative to project root. +-- @since 0.0.15.1 embedFileRelative :: FilePath -> Q Exp embedFileRelative = embedFile <=< makeRelativeToProject diff --git a/file-embed.cabal b/file-embed.cabal index 9246e58..4578073 100644 --- a/file-embed.cabal +++ b/file-embed.cabal @@ -1,5 +1,5 @@ name: file-embed -version: 0.0.15.0 +version: 0.0.15.1 license: BSD2 license-file: LICENSE author: Michael Snoyman