- type Rule = (Targets, Sources, Commands)
- hake :: [Rule] -> IO ()
- hakeT :: [Rule] -> FilePath -> IO ()
- hakefileIs :: FilePath -> [FilePath] -> IO ExitCode
- addDeps :: [Rule] -> [(FilePath, [FilePath])] -> [Rule]
- isSuffixOf :: Eq a => [a] -> [a] -> Bool
- changeSuffix :: String -> String -> String -> String
- data ExitCode = ExitSuccess
Documentation
The hake
function take rules as argument and get target from command line and make target.
isSuffixOf :: Eq a => [a] -> [a] -> Bool
The isSuffixOf
function takes two lists and returns True
iff the first list is a suffix of the second.
Both lists must be finite.