defaultTask property

GrinderTask defaultTask

The default task run when no tasks are specified on the command line.

Implementation

GrinderTask get defaultTask => _defaultTask;
void defaultTask= (GrinderTask v)

Implementation

set defaultTask(GrinderTask v) {
  if (_defaultTask != null) {
    throw new GrinderException('Cannot overwrite existing default task '
        '$_defaultTask with task $v.');
  }
  addTask(v);
  _defaultTask = v;
}