module Development.Shake.Internal.Shake(shake) where
import Development.Shake.Internal.Options
import General.Timing
import Development.Shake.Internal.Core.Run
import Development.Shake.Internal.Core.Rules
import Development.Shake.Internal.Rules.Directory
import Development.Shake.Internal.Rules.File
import Development.Shake.Internal.Rules.Files
import Development.Shake.Internal.Rules.Rerun
shake :: ShakeOptions -> Rules () -> IO ()
shake opts r = do
addTiming "Function shake"
run opts $ do
r
defaultRuleFile
defaultRuleFiles
defaultRuleDirectory
defaultRuleRerun
return ()