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 ()
- ribInputDir :: Action (Path Rel Dir)
- ribOutputDir :: Action (Path Rel Dir)
- getDirectoryFiles' :: Typeable b => 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 but only when it has been modified.
Also, always writes under ribOutputDir
Misc
ribInputDir :: Action (Path Rel Dir) Source #
Input directory containing source files
This is same as the first argument to run