tighten up Hub and add comments
[god.git] / Rakefile
blob5268863d50dd9049fd25027f00a7191f4e850395
1 require 'rubygems'
2 require 'hoe'
4 Hoe.new('god', '0.6.3') do |p|
5   p.rubyforge_name = 'god'
6   p.author = 'Tom Preston-Werner'
7   p.email = 'tom@rubyisawesome.com'
8   p.url = 'http://god.rubyforge.org/'
9   p.summary = 'Like monit, only awesome'
10   p.description = "God is an easy to configure, easy to extend monitoring framework written in Ruby."
11   p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
12   p.spec_extras = {:extensions => ['ext/god/extconf.rb']}
13 end
15 desc "Open an irb session preloaded with this library"
16 task :console do
17   sh "irb -rubygems -r ./lib/god.rb"
18 end
20 desc "Upload site to Rubyforge"
21 task :site do
22   sh "scp -r site/* mojombo@god.rubyforge.org:/var/www/gforge-projects/god"
23 end
25 desc "Upload site to Rubyforge"
26 task :site_edge do
27   sh "scp -r site/* mojombo@god.rubyforge.org:/var/www/gforge-projects/god/edge"
28 end
30 desc "Run rcov"
31 task :coverage do
32   `rm -fr coverage`
33   `rcov test/test_*.rb`
34   `open coverage/index.html`
35 end