Sha256: 0eb34da31271cb1c02573a1b3ec98fd682915f3d011322962f1cc35720b33af0
Contents?: true
Size: 520 Bytes
Versions: 2
Compression:
Stored size: 520 Bytes
Contents
# -*- ruby -*- require './lib/hoe.rb' Hoe.new("hoe", Hoe::VERSION) do |hoe| hoe.rubyforge_name = "seattlerb" 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
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
radiant-1.0.0 | ruby-debug/ruby/1.8/gems/hoe-1.5.1/Rakefile |
hoe-1.5.1 | Rakefile |