packages feed

githash 0.1.6.3 → 0.1.7.0

raw patch · 3 files changed

+13/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ GitHash: giFiles :: GitInfo -> [FilePath]

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog for githash +## 0.1.7.0++* Expose giFiles to users.+ ## 0.1.6.3  * Specify protocol.file.allow=always for latest git [#28](https://github.com/snoyberg/githash/pull/28)
githash.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.0.+-- This file has been generated from package.yaml by hpack version 0.35.1. -- -- see: https://github.com/sol/hpack  name:           githash-version:        0.1.6.3+version:        0.1.7.0 synopsis:       Compile git revision info into Haskell projects description:    Please see the README and documentation at <https://www.stackage.org/package/githash> category:       Development
src/GitHash.hs view
@@ -49,6 +49,7 @@   , giCommitMessage   , giDescribe   , giTag+  , giFiles     -- * Creators   , getGitInfo   , getGitRoot@@ -128,6 +129,12 @@ -- @since 0.1.5.0 giTag :: GitInfo -> String giTag = _giTag++-- | The files used to determine whether recompilation is necessary in splices.+--+-- @since 0.1.7.0+giFiles :: GitInfo -> [FilePath]+giFiles = _giFiles  -- | Get a list of files from within a @.git@ directory. getGitFilesRegular :: FilePath -> IO [FilePath]