summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2008-01-30 19:38:18 -0800
committerRyan Davis <ryand@zenspider.com>2008-01-30 19:38:18 -0800
commitafa23dd844644fa4cba681d3002e4123522b011e (patch)
tree2789d7a576cded4344b714084b9248f91015550b /Rakefile
parent0e2579a9b7f84a305b6b531b37d22af6554b461c (diff)
downloadhoe-afa23dd844644fa4cba681d3002e4123522b011e.tar.gz
* Added autopopulation of changes from History.txt.
* Added autopopulation of urls from History.txt. * Added autopopulation of description from History.txt * Added autopopulation of summary from description. * Added description_sections to declare what sections of readme to use. * Added summary_sentences to declare how many sentences you want in summary. * Added developer(name, email) to cleanly populate both author/email arrays. * author and email now default to "doofus". * author and email warn that they'll blow up on 2008-04-01. [git-p4: depot-paths = "//src/hoe/dev/": change = 3797]
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Rakefile b/Rakefile
index 1e7c0a4..6db6deb 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,12 +2,9 @@
require './lib/hoe.rb'
-Hoe.new("hoe", Hoe::VERSION) do |p|
- p.rubyforge_name = "seattlerb"
- p.summary = "Hoe is a way to write Rakefiles much easier and cleaner."
- p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
- p.url = p.paragraphs_of('README.txt', 1).first.gsub(/^\* /, '').split(/\n/)
- p.changes = p.paragraphs_of('History.txt', 0..2).join("\n\n")
+Hoe.new("hoe", Hoe::VERSION) do |hoe|
+ hoe.rubyforge_name = "seattlerb"
+ hoe.developer("Ryan Davis", "ryand-ruby@zenspider.com")
end
# vim: syntax=Ruby