Execute the actions associated with this task.
Source Code
# File rake.rb, line 532 def execute(args) if application.options.dryrun puts "** Execute (dry run) #{name}" return end if application.options.trace puts "** Execute #{name}" end application.enhance_with_matching_rule(name) if @actions.empty? @actions.each do |act| case act.arity when 1 act.call(self) else act.call(self, args) end end end
<code/>and<pre/>for code samples.