shake-0.0: Build system creator

Development.Shake

Documentation

data ShakeOptions Source

Constructors

ShakeOptions 

Fields

shakeFiles :: FilePath

Where shall I store the database and journal files (defaults to .)

shakeParallelism :: Int

What is the maximum number of rules I should run in parallel (defaults to 1)

shakeVersion :: Int

What is the version of your build system, increment to force everyone to rebuild

shakeVerbosity :: Int

1 = normal, 0 = quiet, 2 = loud

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 whereSource

Methods

validStored :: key -> value -> IO BoolSource

Instances

Rule File FileTime 
Rule GetDir GetDir_ 
Rule Exist Exist_ 

data Rules a Source

Instances

defaultRule :: Rule key value => (key -> Maybe (Action value)) -> Rules ()Source

rule :: Rule key value => (key -> Maybe (Action value)) -> Rules ()Source

apply :: Rule key value => [key] -> Action [value]Source

apply1 :: Rule key value => key -> Action valueSource