Merge pull request #636 from selman/minirake_tasks

fix (-T, --tasks) show tasks
This commit is contained in:
Yukihiro "Matz" Matsumoto
2012-12-17 08:20:19 -08:00
+2 -2
View File
@@ -315,7 +315,7 @@ class RakeApp
# Display the tasks and dependencies.
def display_tasks
Task.tasks.each do |t|
MiniRake::Task.tasks.each do |t|
puts "#{t.class} #{t.name}"
t.prerequisites.each { |pre| puts " #{pre}" }
end
@@ -417,4 +417,4 @@ end
if __FILE__ == $0 then
RakeApp.new.run
end
end