diff options
author | Ryan Davis <ryand@zenspider.com> | 2010-12-07 17:25:45 -0800 |
---|---|---|
committer | Ryan Davis <ryand@zenspider.com> | 2010-12-07 17:25:45 -0800 |
commit | c16831d377cae4aed028ee8a722768efb4a9012c (patch) | |
tree | 96e1af4769a35422e7771defdc34b1f54c225dd0 /Rakefile | |
parent | 9ab5385f6a5f4a0382d8939464362b50bdb462d2 (diff) | |
download | hoe-c16831d377cae4aed028ee8a722768efb4a9012c.tar.gz |
+ Added known_plugins task and updated included and 3rd party plugins doco
[git-p4: depot-paths = "//src/hoe/dev/": change = 6037]
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -24,6 +24,19 @@ task :plugins do 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" |