1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/projects/mongrel_cluster/Rakefile
evanweaver 7254a003ac update dependency tree
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@636 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-10 16:28:29 +00:00

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