module Rake::DSL
def desc(description) # :doc:
end
# ... run tests
task test: [:build] do
desc "Run the Unit Tests"
Example:
sentence) and
rake -D
(the entire description).Descriptions are shown with
rake -T
(up to the firstDescribes the next rake task. Duplicate descriptions are discarded.
def desc(description) # :doc: Rake.application.last_description = description end