2006-03-05 22:48:35 -05:00
|
|
|
require "./lib/capistrano/version"
|
2005-08-03 08:59:03 -04:00
|
|
|
|
2008-06-27 13:14:48 -04:00
|
|
|
begin
|
|
|
|
require 'echoe'
|
|
|
|
rescue LoadError
|
|
|
|
abort "You'll need to have `echoe' installed to use Capistrano's Rakefile"
|
2005-08-03 08:59:03 -04:00
|
|
|
end
|
|
|
|
|
2008-06-27 13:14:48 -04:00
|
|
|
version = Capistrano::Version::STRING.dup
|
|
|
|
if ENV['SNAPSHOT'].to_i == 1
|
|
|
|
version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
|
2007-03-04 15:11:09 -05:00
|
|
|
end
|
|
|
|
|
2008-06-27 13:14:48 -04:00
|
|
|
Echoe.new('capistrano', version) do |p|
|
2009-05-13 14:05:53 -04:00
|
|
|
p.include_gemspec = true
|
2008-06-27 13:14:48 -04:00
|
|
|
p.changelog = "CHANGELOG.rdoc"
|
2005-08-03 08:59:03 -04:00
|
|
|
|
2009-07-30 05:46:52 -04:00
|
|
|
p.author = ["Jamis Buck", "Lee Hambley"]
|
|
|
|
p.email = ["jamis@jamisbuck.org", "lee.hambley@gmail.com"]
|
2005-08-30 16:53:32 -04:00
|
|
|
|
2008-06-27 13:14:48 -04:00
|
|
|
p.summary = <<-DESC.strip.gsub(/\n\s+/, " ")
|
|
|
|
Capistrano is a utility and framework for executing commands in parallel
|
|
|
|
on multiple remote machines, via SSH.
|
|
|
|
DESC
|
2006-07-06 10:22:30 -04:00
|
|
|
|
2008-06-27 13:14:48 -04:00
|
|
|
p.url = "http://www.capify.org"
|
|
|
|
p.need_zip = true
|
|
|
|
p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
|
2008-06-27 17:39:37 -04:00
|
|
|
|
2009-08-27 09:46:24 -04:00
|
|
|
p.dependencies = ["net-ssh >=2.0.14",
|
2008-06-28 10:29:19 -04:00
|
|
|
"net-sftp >=2.0.0",
|
|
|
|
"net-scp >=1.0.0",
|
|
|
|
"net-ssh-gateway >=1.0.0",
|
2008-06-27 17:39:37 -04:00
|
|
|
"highline"]
|
2007-04-26 22:20:21 -04:00
|
|
|
end
|