Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 0.916 kb
require 'rubygems'
require 'hoe'
require './lib/eycap'
Hoe.new('eycap', Eycap::VERSION) do |p|
p.author = 'Engine Yard'
p.email = 'tech@engineyard.com'
p.summary = 'Capistrano tasks for Engine Yard slices'
p.description = 'A bunch of useful recipes to help deployment to Engine Yard slices'
p.url = 'http://eycap.rubyforge.org'
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
p.extra_deps << ['capistrano', '>= 2.2.0']
end
desc "Open an irb session preloaded with this library"
task :console do
sh "irb -rubygems -r ./lib/eycap.rb"
end
task :coverage do
system("rm -fr coverage")
system("rcov test/test_*.rb")
system("open coverage/index.html")
end
desc "Upload site to Rubyforge"
task :site do
end
desc 'Install the package as a gem.'
task :install_gem_no_doc => [:clean, :package] do
sh "#{'sudo ' unless Hoe::WINDOZE}gem install --local --no-rdoc --no-ri pkg/*.gem"
end
Jump to Line
Something went wrong with that request. Please try again.