class Cake::Target
- Cake::Target
- Reference
- Object
Overview
Represents a target to be built.
Defined in:
cake/target.crConstructors
Instance Method Summary
-
#build(env : Env) : Bool
Builds the target.
-
#deps : Array(String)
Returns the dependencies of the target.
-
#desc : String
Returns the description of the target.
-
#name : String
Returns the name of the target.
Constructor Detail
Instance Method Detail
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.