From ee6bb5948217521401e7a7b456764a4843a436a4 Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Tue, 26 Feb 2008 20:56:01 -0800 Subject: 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] --- Rakefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Rakefile') 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 -- cgit v1.2.1