Define a task given args and an option block. If a rule with the given name already exists, the prerequisites and actions are added to the existing task. Returns the defined task.
Source Code
# File rake.rb, line 650 def define_task(*args, &block) Rake.application.define_task(self, *args, &block) end
<code/>and<pre/>for code samples.