diff options
-rw-r--r-- | hakyll.cabal | 8 | ||||
-rw-r--r-- | src/Text/Hakyll/File.hs | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/hakyll.cabal b/hakyll.cabal index 832bbc2..fd69539 100644 --- a/hakyll.cabal +++ b/hakyll.cabal @@ -1,5 +1,5 @@ Name: hakyll -Version: 0.3 +Version: 0.3.2 Synopsis: A simple static site generator library. Description: @@ -19,12 +19,12 @@ library 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 diff --git a/src/Text/Hakyll/File.hs b/src/Text/Hakyll/File.hs index e138312..5f5e58b 100644 --- a/src/Text/Hakyll/File.hs +++ b/src/Text/Hakyll/File.hs @@ -51,7 +51,7 @@ getRecursiveContents topdir = do 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 |