summaryrefslogtreecommitdiff
path: root/lib/Hakyll/Core/Dependencies.hs
AgeCommit message (Collapse)AuthorFilesLines
2021-06-22add 'forceCompile' rules modifier (#857)Fraser Tweedale1-12/+39
Compilers that use data from sources other than local files may need to be recompiled, but Hakyll's file-based dependency checking does not handle this situation. Add a new kind of dependency called 'AlwaysOutOfDate'. If an item has this dependency, it will be unconditionally rebuilt. Also add the 'forceCompile' rule modifier, which is a user-friendly way to force recompilation of specific items. Example usage: forceCompile $ create ["foo"] $ do route $ idRoute compile $ unsafeCompiler $ doSomeIO
2017-06-19Move src/ to lib/, put Init.hs in src/Jasper Van der Jeugt1-0/+146