-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Build system creator -- -- Write build systems. NOT READY FOR USE YET. DO NOT USE THIS PACKAGE. @package shake @version 0.0 -- | Module for FilePath operations, to be used in place of -- System.FilePath. It uses / as the directory separator -- to ensure uniqueness, and squashes any /./ components. module Development.Shake.FilePath -- | Drop the first directory from a FilePath. Should only be used -- on relative paths. -- --
-- dropDirectory1 "aaa/bbb" == "bbb" -- dropDirectory1 "aaa/" == "" -- dropDirectory1 "aaa" == "" -- dropDirectory1 "" == "" --dropDirectory1 :: FilePath -> FilePath -- | Take the first component of a FilePath. Should only be used on -- relative paths. -- --
-- takeDirectory1 "aaa/bbb" == "aaa" -- takeDirectory1 "aaa/" == "aaa" -- takeDirectory1 "aaa" == "aaa" --takeDirectory1 :: FilePath -> FilePath normalise :: FilePath -> FilePath toNative :: FilePath -> FilePath (>) :: FilePath -> FilePath -> FilePath combine :: FilePath -> FilePath -> FilePath module Development.Shake shake :: ShakeOptions -> Rules () -> IO () data ShakeOptions ShakeOptions :: FilePath -> Int -> Int -> Int -> ShakeOptions -- | Where shall I store the database and journal files (defaults to -- .) shakeFiles :: ShakeOptions -> FilePath -- | What is the maximum number of rules I should run in parallel (defaults -- to 1) shakeParallelism :: ShakeOptions -> Int -- | What is the version of your build system, increment to force everyone -- to rebuild shakeVersion :: ShakeOptions -> Int -- | 1 = normal, 0 = quiet, 2 = loud shakeVerbosity :: ShakeOptions -> Int shakeOptions :: ShakeOptions runShake :: ShakeOptions -> Rules () -> IO Double class (Show key, Typeable key, Eq key, Hashable key, Binary key, Show value, Typeable value, Eq value, Hashable value, Binary value) => Rule key value | key -> value validStored :: Rule key value => key -> value -> IO Bool data Rules a defaultRule :: Rule key value => (key -> Maybe (Action value)) -> Rules () rule :: Rule key value => (key -> Maybe (Action value)) -> Rules () action :: Action a -> Rules () data Action a apply :: Rule key value => [key] -> Action [value] apply1 :: Rule key value => key -> Action value traced :: String -> IO a -> Action a currentRule :: Action (Maybe Key) putLoud, putQuiet, putNormal :: String -> Action () system_ :: [String] -> Action () readFile_ :: FilePath -> Action String readFileLines :: FilePath -> Action [String] type FilePattern = String need :: [FilePath] -> Action () want :: [FilePath] -> Rules () defaultRuleFile :: Rules () (=*=) :: FilePattern -> FilePath -> Bool (?>) :: (FilePath -> Bool) -> (FilePath -> Action ()) -> Rules () (**>) :: [FilePattern] -> (FilePath -> Action ()) -> Rules () (*>) :: FilePattern -> (FilePath -> Action ()) -> Rules () doesFileExist :: FilePath -> Action Bool getDirectoryContents :: FilePath -> Action [FilePath] getDirectoryFiles :: FilePath -> FilePattern -> Action [FilePath] getDirectoryDirs :: FilePath -> Action [FilePath] defaultRuleDirectory :: Rules ()