Sha256: fca7730ceecaab7a109d89b68c92abe3e683d730624cb36bdeb64442a72b10ba

Contents?: true

Size: 632 Bytes

Versions: 2

Compression:

Stored size: 632 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")

  hoe.multiruby_skip << "rubinius"
end

desc "Generate a list of tasks for doco. RDOC=1 for commented output"
task :tasks do
  tasks = `rake -T`.scan(/rake (\w+)\s+# (.*)/)
  tasks.reject! { |t,d| t =~ /^(clobber|tasks|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 & 1 rubygems

Version Path
hoe-1.5.3 Rakefile
hoe-1.5.2 Rakefile