Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 35 lines (30 sloc) 0.958 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
require 'rubygems'
require 'hoe'

Hoe.new('god', '0.7.6') do |p|
  p.rubyforge_name = 'god'
  p.author = 'Tom Preston-Werner'
  p.email = 'tom@rubyisawesome.com'
  p.url = 'http://god.rubyforge.org/'
  p.summary = 'Like monit, only awesome'
  p.description = "God is an easy to configure, easy to extend monitoring framework written in Ruby."
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
  p.spec_extras = {:extensions => ['ext/god/extconf.rb']}
end

desc "Open an irb session preloaded with this library"
task :console do
  sh "irb -rubygems -r ./lib/god.rb"
end

desc "Upload site to Rubyforge"
task :site do
  sh "scp -r site/* mojombo@god.rubyforge.org:/var/www/gforge-projects/god"
end

desc "Upload site to Rubyforge"
task :site_edge do
  sh "scp -r site/* mojombo@god.rubyforge.org:/var/www/gforge-projects/god/edge"
end

desc "Run rcov"
task :coverage do
  `rm -fr coverage`
  `rcov test/test_*.rb`
  `open coverage/index.html`
end
Something went wrong with that request. Please try again.