on master help sign in
Fixed typo. Making another attempt to have it built on hackage...
01b177eJasper Van der Jeugt
hakyll.cabal+4−4
@@ -1,5 +1,5 @@
1Name: hakyll
1Name: hakyll
2−Version: 0.3
2+Version: 0.3.2
3
3
4Synopsis: A simple static site generator library.
4Synopsis: A simple static site generator library.
5Description:
5Description:
@@ -19,12 +19,12 @@ library
19 ghc-options: -Wall
19 ghc-options: -Wall
20 hs-source-dirs: src/
20 hs-source-dirs: src/
21 build-depends: base >= 4 && < 5,
21 build-depends: base >= 4 && < 5,
22− template >= 0.1,
22+ template >= 0.1.1,
23 filepath >= 1.1,
23 filepath >= 1.1,
24 directory >= 1,
24 directory >= 1,
25 containers >= 0.1,
25 containers >= 0.1,
26− bytestring >= 0.9,
26+ bytestring >= 0.9 && <= 0.9.1.4,
27− pandoc >= 1,
27+ pandoc >= 1.3,
28 regex-compat >= 0.92,
28 regex-compat >= 0.92,
29 network >= 2,
29 network >= 2,
30 mtl >= 1.1
30 mtl >= 1.1
src/Text/Hakyll/File.hs+1−1
@@ -51,7 +51,7 @@ getRecursiveContents topdir = do
51directory :: (FilePath -> IO ()) -> FilePath -> IO ()
51directory :: (FilePath -> IO ()) -> FilePath -> IO ()
52directory action dir = getRecursiveContents dir >>= mapM_ action
52directory action dir = getRecursiveContents dir >>= mapM_ action
53
53
54−-- | Check is a cache file is still valid.
54+-- | Check if a cache file is still valid.
55isCacheValid :: FilePath -> [FilePath] -> IO Bool
55isCacheValid :: FilePath -> [FilePath] -> IO Bool
56isCacheValid cache depends = doesFileExist cache >>= \exists ->
56isCacheValid cache depends = doesFileExist cache >>= \exists ->
57 if not exists then return False
57 if not exists then return False