public Method

Task.invoke_prerequisites(task_args, invocation_chain)

Invoke all the prerequisites of a task.

Source Code

# File rake.rb, line 514
def invoke_prerequisites(task_args, invocation_chain)
  @prerequisites.each { |n|
    prereq = application[n, @scope]
    prereq_args = task_args.new_scope(prereq.arg_names)
    prereq.invoke_with_call_chain(prereq_args, invocation_chain)
  }
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.