summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2009-12-29 15:11:20 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2009-12-29 15:11:20 +0100
commit01b177e0861c7465d5b76ec4c7bd67966a9a7ca4 (patch)
treee6a0e08edde553e2dfbf9d40eef75b6f45d8246c
parent5f9014cec2b99254bb9d250abbb75926a1f7e4b1 (diff)
downloadhakyll-01b177e0861c7465d5b76ec4c7bd67966a9a7ca4.tar.gz
Fixed typo. Making another attempt to have it built on hackage...
-rw-r--r--hakyll.cabal8
-rw-r--r--src/Text/Hakyll/File.hs2
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