mirror of
https://github.com/typeable/file-embed.git
synced 2024-09-11 07:45:30 +03:00
Version bump
This commit is contained in:
parent
6633884509
commit
f8c9f30c1a
@ -1,5 +1,9 @@
|
||||
# ChangeLog for file-embed
|
||||
|
||||
## 0.0.14.0
|
||||
|
||||
* Add `embedFileIfExists`
|
||||
|
||||
## 0.0.13.0
|
||||
|
||||
* Ensure that directory listings are returned in sorted order for reproducibility [yesodweb/yesod#1684](https://github.com/yesodweb/yesod/issues/1684)
|
||||
|
@ -98,6 +98,8 @@ embedFile fp =
|
||||
-- >
|
||||
-- > maybeMyFile :: Maybe Data.ByteString.ByteString
|
||||
-- > maybeMyFile = $(embedFileIfExists "dirName/fileName")
|
||||
--
|
||||
-- @since 0.0.14.0
|
||||
embedFileIfExists :: FilePath -> Q Exp
|
||||
embedFileIfExists fp = do
|
||||
mbs <- runIO maybeFile
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: file-embed
|
||||
version: 0.0.13.0
|
||||
version: 0.0.14.0
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman <michael@snoyman.com>
|
||||
|
Loading…
Reference in New Issue
Block a user