Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
ShakeBake.Shake2
Synopsis
- shakeArgs2 :: Path b t -> Rules () -> IO ()
- shakeAll :: NoticeLevel -> Settings -> PubFlags -> FilePath -> ErrIO ()
- shakeMD :: NoticeLevel -> Settings -> PubFlags -> Path Abs Dir -> Path Abs Dir -> IO ()
- getNeeds :: NoticeLevel -> Settings -> Path Abs Dir -> Path Abs Dir -> Text -> Text -> Action [Path Abs File]
- getNeedsMD :: NoticeLevel -> PubFlags -> Settings -> Path Abs Dir -> Path Abs Dir -> Text -> Text -> Action [Path Abs File]
Documentation
shakeAll :: NoticeLevel -> Settings -> PubFlags -> FilePath -> ErrIO () Source #
calls shake in the IO monade. this is in the ErrIO
shakeMD :: NoticeLevel -> Settings -> PubFlags -> Path Abs Dir -> Path Abs Dir -> IO () Source #
bake all md files and copy the resources from each md produce: - html - pdf sets the current dir to doughDir copies banner image in IO TOP shake call
Arguments
:: NoticeLevel | |
-> Settings | the site layout etc |
-> Path Abs Dir | source dir |
-> Path Abs Dir | target dir |
-> Text | extension source |
-> Text | extension target |
-> Action [Path Abs File] |
find the files which are needed (generic) from source with extension ext does not include directory DNB (do not bake)