- redoMain :: [Target] -> IO ()
- listing :: [Target] -> ExactTarget
- data Target = Target {}
- data RedoArgs = RedoArgs {}
- class TargetLike t where
- data ExactTarget = ExactTarget {}
- data WildcardTarget = WildcardTarget {}
- class ShowPC a where
- redoIfChange :: [String] -> IO ()
- redo :: [String] -> IO ()
- stampAll :: FilePath -> [String] -> IO ()
- runVerbosely :: ShellCommand a => a -> IO ()
your main function
redoMain :: [Target] -> IO ()Source
Your main function should probably just invoke this and do nothing else
listing :: [Target] -> ExactTargetSource
Special target that prints out the targets you can run Note that makedo automatically includes this
creating targets
A makedo script is basically just a list of Target
If a target matches the input file name, its action is run
class TargetLike t whereSource
data ExactTarget Source
Targets that use an exact filename match
Useful for targets that take parameters which you want to convert into path components
within target actions
redoIfChange :: [String] -> IO ()Source
runVerbosely :: ShellCommand a => a -> IO ()Source