Commit 73a17097 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #636 from selman/minirake_tasks

fix (-T, --tasks) show tasks
parents f222d8cc 137ec8de
...@@ -315,7 +315,7 @@ class RakeApp ...@@ -315,7 +315,7 @@ class RakeApp
# Display the tasks and dependencies. # Display the tasks and dependencies.
def display_tasks def display_tasks
Task.tasks.each do |t| MiniRake::Task.tasks.each do |t|
puts "#{t.class} #{t.name}" puts "#{t.class} #{t.name}"
t.prerequisites.each { |pre| puts " #{pre}" } t.prerequisites.each { |pre| puts " #{pre}" }
end end
...@@ -417,4 +417,4 @@ end ...@@ -417,4 +417,4 @@ end
if __FILE__ == $0 then if __FILE__ == $0 then
RakeApp.new.run RakeApp.new.run
end end
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment