summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2008-02-26 20:56:01 -0800
committerRyan Davis <ryand@zenspider.com>2008-02-26 20:56:01 -0800
commitee6bb5948217521401e7a7b456764a4843a436a4 (patch)
tree659bdacb2bff66118f0b468989ef6149b4153201 /Rakefile
parentc46066862038d7e671de8cfb54289ec772f730dc (diff)
downloadhoe-ee6bb5948217521401e7a7b456764a4843a436a4.tar.gz
Removed install/uninstall tasks. Too buggy. Gems do a better job.
Correctly deal with errors intuiting history and readme files. Thanks Aaron! Fixed rdoc title. Thanks, Sander! Fixed sow to match new Rakefile and History format. Thanks, me! [git-p4: depot-paths = "//src/hoe/dev/": change = 3851]
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 6db6deb..8cbcae9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -7,4 +7,18 @@ Hoe.new("hoe", Hoe::VERSION) do |hoe|
hoe.developer("Ryan Davis", "ryand-ruby@zenspider.com")
end
+task :tasks do
+ tasks = `rake -T`.scan(/rake (\w+)\s+# (.*)/)
+ tasks.reject! { |t,d| t =~ /^(clobber|re(package|docs))/ }
+ max = tasks.map { |x,y| x.size }.max
+
+ tasks.each do |t,d|
+ if ENV['RDOC'] then
+ puts "# %-#{max+2}s %s" % [t + "::", d]
+ else
+ puts "* %-#{max}s - %s" % [t, d]
+ end
+ end
+end
+
# vim: syntax=Ruby