Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ShakeDatabase
- shakeOpenDatabase :: MonadIO m => ShakeOptions -> Rules () -> m (IO ShakeDatabase, IO ())
- shakeWithDatabase :: MonadUnliftIO m => ShakeOptions -> Rules () -> (ShakeDatabase -> m a) -> m a
- shakeOneShotDatabase :: MonadIO m => ShakeDatabase -> m ()
- shakeRunDatabase :: MonadIO m => ShakeDatabase -> [Action a] -> m ([a], [IO ()])
- shakeLiveFilesDatabase :: MonadIO m => ShakeDatabase -> m [FilePath]
- shakeProfileDatabase :: MonadIO m => ShakeDatabase -> Path a File -> m ()
- shakeErrorsDatabase :: MonadIO m => ShakeDatabase -> m [(String, SomeException)]
- shakeRunAfter :: MonadUnliftIO m => ShakeOptions -> [m ()] -> m ()
Documentation
data ShakeDatabase #
The type of an open Shake database. Created with
shakeOpenDatabase
or shakeWithDatabase
. Used with
shakeRunDatabase
. You may not execute simultaneous calls using ShakeDatabase
on separate threads (it will raise an error).
shakeOpenDatabase :: MonadIO m => ShakeOptions -> Rules () -> m (IO ShakeDatabase, IO ()) Source #
Lifted shakeOpenDatabase
shakeWithDatabase :: MonadUnliftIO m => ShakeOptions -> Rules () -> (ShakeDatabase -> m a) -> m a Source #
Unlifted shakeWithDatabase
shakeOneShotDatabase :: MonadIO m => ShakeDatabase -> m () Source #
Lifted shakeOneShotDatabase
shakeRunDatabase :: MonadIO m => ShakeDatabase -> [Action a] -> m ([a], [IO ()]) Source #
Lifted shakeRunDatabase
shakeLiveFilesDatabase :: MonadIO m => ShakeDatabase -> m [FilePath] Source #
Lifted shakeLiveFilesDatabase
shakeProfileDatabase :: MonadIO m => ShakeDatabase -> Path a File -> m () Source #
Lifted shakeProfileDatabase
with well-typed path.
shakeErrorsDatabase :: MonadIO m => ShakeDatabase -> m [(String, SomeException)] Source #
Lifted shakeErrorsDatabase
shakeRunAfter :: MonadUnliftIO m => ShakeOptions -> [m ()] -> m () Source #
Unlifted shakeRunAfter