Cake::Target
Inherits Reference / Object
Represents a target to be built.
Constructors
new(name : String, deps : Array(String), desc : String, &build : Env -> )
Instance methods
build(env : Env) : Bool
Builds the target.
The target will not be build if it is deemed up to date. This means that none of its target dependencies were rebuilt, and none of its file dependencies were modified after the target file was last modified.
deps
Returns the dependencies of the target.
desc
Returns the description of the target.
name
Returns the name of the target.