Class: GitCompound::Worker::TaskRunner

Inherits:
Worker
  • Object
show all
Defined in:
lib/git_compound/worker/task_runner.rb

Overview

Worker that executes manifest tasks This happens when visitor visits manifests in reverse order

Instance Method Summary collapse

Methods inherited from Worker

#visit_component, #visit_manifest

Instance Method Details

#visit_task(task) ⇒ Object



7
8
9
10
# File 'lib/git_compound/worker/task_runner.rb', line 7

def visit_task(task)
  Logger.info "Running: `#{task.name}` task"
  task.execute
end