fix process#alive? to not raise on no such file
[god.git] / Rakefile
blob2f059b393b005749df15b403d558ddbb336efeba
1 require 'rubygems'
2 require 'hoe'
4 Hoe.new('god', '0.4.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