Sha256: ea398e6fbca59ead53591e9a05529301848c6edcd05755c8abd9fa5745395461
Contents?: true
Size: 1018 Bytes
Versions: 7
Compression:
Stored size: 1018 Bytes
Contents
# -*- ruby -*- $: << 'lib' require './lib/hoe.rb' Hoe.add_include_dirs "../../minitest/dev/lib" Hoe.plugin :seattlerb Hoe.spec "hoe" do developer "Ryan Davis", "ryand-ruby@zenspider.com" self.rubyforge_name = "seattlerb" blog_categories << "Seattle.rb" << "Ruby" pluggable! require_rubygems_version '>= 1.4' end task :plugins do puts `find lib/hoe -name \*.rb | xargs grep -h module.Hoe::`. gsub(/module/, '*') end task :known_plugins do dep = Gem::Dependency.new(/^hoe-/, Gem::Requirement.default) fetcher = Gem::SpecFetcher.fetcher spec_tuples = fetcher.find_matching dep max = spec_tuples.map { |(tuple, source)| tuple.first.size }.max spec_tuples.each do |(tuple, source)| spec = Gem::SpecFetcher.fetcher.fetch_spec(tuple, URI.parse(source)) puts "* %-#{max}s - %s (%s)" % [spec.name, spec.summary, spec.authors.first] end end [:redocs, :docs].each do |t| task t do cp "Hoe.pdf", "doc" sh "chmod u+w doc/Hoe.pdf" end end # vim: syntax=ruby
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
hoe-2.9.5 | Rakefile |
hoe-2.9.4 | Rakefile |
hoe-2.9.3 | Rakefile |
hoe-2.9.2 | Rakefile |
hoe-2.9.1 | Rakefile |
hoe-2.9.1.b.2 | Rakefile |
hoe-2.9.0 | Rakefile |