summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2014-12-28 15:27:59 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2014-12-28 15:28:45 +0100
commitf498a43c643b95e9381f1c006e875e290a805eec (patch)
tree891b505b618f9ff471adbf1991dc0be268126164
parent5a69870289db3bc94de4d6243525b6995a0df2a9 (diff)
downloadhakyll-f498a43c643b95e9381f1c006e875e290a805eec.tar.gz
Fix dependency handling bug
Closes #321
-rw-r--r--hakyll.cabal2
-rw-r--r--src/Hakyll/Core/Compiler/Internal.hs4
-rw-r--r--web/releases.markdown4
3 files changed, 8 insertions, 2 deletions
diff --git a/hakyll.cabal b/hakyll.cabal
index 82c8d6b..5ebf488 100644
--- a/hakyll.cabal
+++ b/hakyll.cabal
@@ -1,5 +1,5 @@
Name: hakyll
-Version: 4.6.2.0
+Version: 4.6.3.0
Synopsis: A static website compiler library
Description:
diff --git a/src/Hakyll/Core/Compiler/Internal.hs b/src/Hakyll/Core/Compiler/Internal.hs
index ed7880f..61fb640 100644
--- a/src/Hakyll/Core/Compiler/Internal.hs
+++ b/src/Hakyll/Core/Compiler/Internal.hs
@@ -131,7 +131,9 @@ instance Monad Compiler where
res' <- unCompiler (f x) r
return $ case res' of
CompilerDone y w' -> CompilerDone y (w `mappend` w')
- CompilerSnapshot s c' -> CompilerSnapshot s c'
+ CompilerSnapshot s c' -> CompilerSnapshot s $ do
+ compilerTell w -- Save dependencies!
+ c'
CompilerError e -> CompilerError e
CompilerRequire i c' -> CompilerRequire i $ do
compilerTell w -- Save dependencies!
diff --git a/web/releases.markdown b/web/releases.markdown
index 5e1bcfc..3271619 100644
--- a/web/releases.markdown
+++ b/web/releases.markdown
@@ -4,6 +4,10 @@ title: Releases
# Releases
+## Hakyll 4.6.3.0
+
+- Fix dependency handling bug
+
## Hakyll 4.6.2.0
- Loosen `binary` dependency