summaryrefslogtreecommitdiffhomepage
path: root/minirake
diff options
context:
space:
mode:
authorSelman ULUG <[email protected]>2012-12-17 11:48:21 +0200
committerSelman ULUG <[email protected]>2012-12-17 11:48:21 +0200
commit137ec8de0556b38cf16d54dc1ba789fb06c24f41 (patch)
tree00ec9f7e3f46f1bfeef54330858119fa6c084bce /minirake
parentf222d8cc19320b15c3993b7b983ed57133604aa5 (diff)
downloadmruby-137ec8de0556b38cf16d54dc1ba789fb06c24f41.tar.gz
mruby-137ec8de0556b38cf16d54dc1ba789fb06c24f41.zip
fix (-T, --tasks) show tasks
Diffstat (limited to 'minirake')
-rwxr-xr-xminirake4
1 files changed, 2 insertions, 2 deletions
diff --git a/minirake b/minirake
index 989af4098..7bda33f3b 100755
--- a/minirake
+++ b/minirake
@@ -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 \ No newline at end of file
+end