packages feed

hakyll 0.3.1 → 0.3.2

raw patch · 2 files changed

+5/−5 lines, 2 filesdep ~bytestringdep ~pandocdep ~template

Dependency ranges changed: bytestring, pandoc, template

Files

hakyll.cabal view
@@ -1,5 +1,5 @@ Name:           hakyll-Version:        0.3.1+Version:        0.3.2  Synopsis:       A simple static site generator library. Description:@@ -19,12 +19,12 @@   ghc-options: -Wall   hs-source-dirs: src/   build-depends:   base >= 4 && < 5,-                   template >= 0.1,+                   template >= 0.1.1,                    filepath >= 1.1,                    directory >= 1,                    containers >= 0.1,-                   bytestring >= 0.9,-                   pandoc >= 1,+                   bytestring >= 0.9 && <= 0.9.1.4,+                   pandoc >= 1.3,                    regex-compat >= 0.92,                    network >= 2,                    mtl >= 1.1
src/Text/Hakyll/File.hs view
@@ -51,7 +51,7 @@ directory :: (FilePath -> IO ()) -> FilePath -> IO () directory action dir = getRecursiveContents dir >>= mapM_ action --- | Check is a cache file is still valid.+-- | Check if a cache file is still valid. isCacheValid :: FilePath -> [FilePath] -> IO Bool isCacheValid cache depends = doesFileExist cache >>= \exists ->     if not exists then return False