From f498a43c643b95e9381f1c006e875e290a805eec Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sun, 28 Dec 2014 15:27:59 +0100 Subject: Fix dependency handling bug Closes #321 --- hakyll.cabal | 2 +- src/Hakyll/Core/Compiler/Internal.hs | 4 +++- web/releases.markdown | 4 ++++ 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 -- cgit v1.2.3