mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
7254a003ac
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@636 19e92222-5c0b-0410-8929-a290d50e31e9
29 lines
901 B
Ruby
29 lines
901 B
Ruby
|
|
require 'echoe'
|
|
|
|
Echoe.new("mongrel_cluster") do |p|
|
|
p.summary = "Mongrel plugin that provides commands and Capistrano tasks for managing multiple Mongrel processes."
|
|
p.project = "mongrel"
|
|
p.author="Bradley Taylor"
|
|
p.dependencies = ['gem_plugin >=0.2.3', 'mongrel >=1.0.2']
|
|
p.has_rdoc = false
|
|
|
|
p.need_tar_gz = false
|
|
p.need_tgz = true
|
|
p.require_signed = true
|
|
p.certificate_chain = ['~/p/configuration/gem_certificates/mongrel/mongrel-public_cert.pem',
|
|
'~/p/configuration/gem_certificates/evan_weaver-mongrel-public_cert.pem']
|
|
end
|
|
|
|
# Is this still used?
|
|
task :gem_source do
|
|
mkdir_p "pkg/gems"
|
|
|
|
FileList["**/*.gem"].each { |gem| mv gem, "pkg/gems" }
|
|
FileList["pkg/*.tgz"].each {|tgz| rm tgz }
|
|
rm_rf "pkg/#{name}-#{version}"
|
|
|
|
sh %{ generate_yaml_index.rb -d pkg }
|
|
sh %{ scp -r pkg/* #{ENV['SSH_USER']}@rubyforge.org:/var/www/gforge-projects/mongrel/releases/ }
|
|
end
|
|
|