Safe Haskell | None |
---|---|
Language | Haskell2010 |
General rules for writing consistent rattle build systems:
- Never write to the same file twice. Never read then write.
- Don't delete files that have been produced. Each command should make new files, not delete old files.
Synopsis
- rattle :: RattleOptions -> Run a -> IO a
- data Run a
- data Hazard
- data RattleOptions = RattleOptions {}
- rattleOptions :: RattleOptions
- cmd :: [String] -> Run ()
- parallel :: [Run a] -> Run [a]
- forP :: (a -> Run b) -> [a] -> Run [b]
- liftIO :: MonadIO m => IO a -> m a
Documentation
rattle :: RattleOptions -> Run a -> IO a Source #
Given an Action to run, and a list of previous commands that got run, run it again
Type of actions to run. Executed using rattle
.
Type of exception thrown if there is a hazard when running the build system.
Instances
Show Hazard Source # | |
Exception Hazard Source # | |
Defined in Development.Rattle.Server toException :: Hazard -> SomeException # fromException :: SomeException -> Maybe Hazard # displayException :: Hazard -> String # |
data RattleOptions Source #
Basic options for configuring rattle.
RattleOptions | |
|
Instances
Show RattleOptions Source # | |
Defined in Development.Rattle.Server showsPrec :: Int -> RattleOptions -> ShowS # show :: RattleOptions -> String # showList :: [RattleOptions] -> ShowS # |
rattleOptions :: RattleOptions Source #
Default RattleOptions
value.