fix (-T, --tasks) show tasks

This commit is contained in:
Selman ULUG
2012-12-17 11:48:21 +02:00
parent f222d8cc19
commit 137ec8de05
+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