jaspervdj/hakyll — Issue #45: Add setupIO function
Author: jaspervdj
Created: 2011-11-03 01:43:52+00:00
State: open

`setupIO` should serve as a hook to some initialization in `IO`. It should create an item, so we can depend upon this command.

haddock <- setupIO $ do
... cd to some directory ...
rawSystem "cabal" ["haddock"]
... create symlink ...

Use cases are, thus, symlinking, generating documentation...