Safe Haskell | None |
---|---|
Language | Haskell2010 |
Combinators for working with Shake.
Synopsis
- buildStaticFiles :: [Path Rel File] -> Action ()
- forEvery :: [Path Rel File] -> (Path Rel File -> Action a) -> Action [a]
- writeFileCached :: Path Rel File -> String -> Action ()
- data RibSettings = RibSettings {}
- ribInputDir :: Action (Path Rel Dir)
- ribOutputDir :: Action (Path Rel Dir)
- getDirectoryFiles' :: Path b Dir -> [Path Rel File] -> Action [Path Rel File]
Basic helpers
:: [Path Rel File] | Source file patterns (relative to |
-> (Path Rel File -> Action a) | |
-> Action [a] |
Run the given action when any file matching the patterns changes
Writing only
writeFileCached :: Path Rel File -> String -> Action () Source #
Write the given file unless it has not changed.
Also, always writes under ribOutputDir
Misc
data RibSettings Source #
RibSettings is initialized with the values passed to run