lib/git_compound/builder.rb in git_compound-0.0.9 vs lib/git_compound/builder.rb in git_compound-0.0.10
- old
+ new
@@ -51,11 +51,13 @@
Logger.info 'Running tasks ...'
if @opts.include?(:allow_nested_subtasks)
@manifest.process(Worker::TaskRunner.new)
else
- @manifest.tasks.each_value(&:execute)
+ @manifest.tasks.each_value do |task|
+ Worker::TaskRunner.new.visit_task(task)
+ end
end
self
end
def locked_manifest_verify
@@ -82,10 +84,10 @@
@lock_new.find(component) ? true : false
end
dormant_components.each do |component|
Logger.warn "Removing dormant component `#{component.name}` " \
- "from `#{component.destination_path}` !"
+ "from `#{component.path}` !"
component.remove!
end
end
end