Grinder class

A class representing a running instance of a Grinder.

Constructors

Grinder()
Create a new instance of Grinder.

Properties

ansi ↔ Ansi
read / write
defaultTask GrinderTask
The default task run when no tasks are specified on the command line.
read / write
hasDefaultTask → bool
Return whether this grinder instance has a default task set.
read-only
tasks → List<GrinderTask>
Get the list of all the Grinder tasks.
read-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addTask(GrinderTask task) → void
Add a task to this Grinder instance.
getAllDependencies(GrinderTask task) → List<TaskInvocation>
Given a task, return all of its transitive dependencies.
getBuildOrder() → List<TaskInvocation>
Return the calculated build order of the task invocations for this run.
getImmediateDependencies(GrinderTask task) → Iterable<TaskInvocation>
Given a task, return all of its immediate dependencies.
getTask(String name) GrinderTask
Get the task with the given name. Returns null if none found.
log(String message) → void
Log the given informational message.
start(Iterable invocations, { bool dontRun: false }) → Future
Start the build process and run all the tasks in the calculated build order. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited