Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (44 sloc) 1.37 KB
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'echoe'
Echoe.new('webbynode', '0.2.0') do |p|
p.description = "Webbynode Deployment Gem"
p.url = "http://webbynode.com"
p.author = "Felipe Coury"
p.email = "felipe@webbynode.com"
p.ignore_pattern = ["tmp/*", "script/*"]
p.dependencies = [
['httparty', '>=0.4.5'],
['domainatrix','>=0.0.7']
]
# p.dependencies = [
# ['activeresource','>= 2.3.4'],
# ['activesupport','>= 2.3.4'],
# ['rainbow', '>=1.0.4'],
# ['highline', '>=1.5.1'],
# ['httparty', '>=0.4.5']
# ]
p.install_message = <<EOS
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Webbynode Rapid Deployment Gem
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This deployment engine is highly experimental and
should be considered beta code for now.
For a quickstart:
http://guides.webbynode.com/articles/readystacks/rapid-apps.html
EOS
end
require 'rcov/rcovtask'
desc 'Measures test coverage using rcov'
namespace :rcov do
desc 'Output unit test coverage of plugin.'
Rcov::RcovTask.new(:unit) do |rcov|
rcov.libs << 'test'
rcov.ruby_opts << '-rubygems'
rcov.pattern = 'test/unit/**/test_*.rb'
rcov.output_dir = 'rcov'
rcov.verbose = true
rcov.rcov_opts << '--exclude "gems/*"'
end
end