type
Task
Task is the base class for commands to run in build scripts. The library of Task subclasses represent the reusable units of work which are composed together to implement build script Targets.
constructors
make |
Construct with parent script. |
---|
fields
script |
Return the parent build script associated with this task. |
---|
methods
fatal |
Log an error and return a FatalBuildErr instance |
---|---|
log |
Convenience for script.log |
run |
Run this task. |
Slot Details
fatal
src
FatalBuildErr fatal(Str msg, Err? err := null)
Log an error and return a FatalBuildErr instance
log
make
src
new make(BuildScript script)
Construct with parent script.
run
script
src
BuildScript script { private set }
Return the parent build script associated with this task.