Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ShakeDatabase
- type ShakeValue a = (Show a, Typeable a, Eq a, Hashable a, NFData a)
- shakeOpenDatabase :: ShakeOptions -> Rules () -> IO (IO ShakeDatabase, IO ())
- shakeRunDatabase :: ShakeDatabase -> [Action a] -> IO ([a], [IO ()])
- shakeRunDatabaseForKeys :: Maybe [Key] -> ShakeDatabase -> [Action a] -> IO ([a], [IO ()])
- shakeProfileDatabase :: ShakeDatabase -> FilePath -> IO ()
- shakeGetBuildStep :: ShakeDatabase -> IO Int
- shakeGetDirtySet :: ShakeDatabase -> IO [(Key, Int)]
- shakeGetCleanKeys :: ShakeDatabase -> IO [(Key, Result)]
- shakeGetBuildEdges :: ShakeDatabase -> IO Int
Documentation
data ShakeDatabase Source #
shakeOpenDatabase :: ShakeOptions -> Rules () -> IO (IO ShakeDatabase, IO ()) Source #
shakeRunDatabase :: ShakeDatabase -> [Action a] -> IO ([a], [IO ()]) Source #
shakeRunDatabaseForKeys Source #
:: Maybe [Key] | Set of keys changed since last run. |
-> ShakeDatabase | |
-> [Action a] | |
-> IO ([a], [IO ()]) |
Assumes that the database is not running a build
shakeProfileDatabase :: ShakeDatabase -> FilePath -> IO () Source #
Given a ShakeDatabase
, write an HTML profile to the given file about the latest run.
shakeGetBuildStep :: ShakeDatabase -> IO Int Source #
Returns the build number
shakeGetDirtySet :: ShakeDatabase -> IO [(Key, Int)] Source #
Returns the set of dirty keys annotated with their age (in # of builds)
shakeGetCleanKeys :: ShakeDatabase -> IO [(Key, Result)] Source #
Returns the clean keys in the database
shakeGetBuildEdges :: ShakeDatabase -> IO Int Source #
Returns the total count of edges in the build graph