diff options
author | Ryan Davis <ryand@zenspider.com> | 2008-02-26 20:56:01 -0800 |
---|---|---|
committer | Ryan Davis <ryand@zenspider.com> | 2008-02-26 20:56:01 -0800 |
commit | ee6bb5948217521401e7a7b456764a4843a436a4 (patch) | |
tree | 659bdacb2bff66118f0b468989ef6149b4153201 /Rakefile | |
parent | c46066862038d7e671de8cfb54289ec772f730dc (diff) | |
download | hoe-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-- | Rakefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |