2006-03-06 03:48:35 +00:00
|
|
|
require "./lib/capistrano/version"
|
2005-08-03 12:59:03 +00:00
|
|
|
|
2008-06-27 11:14:48 -06:00
|
|
|
begin
|
|
|
|
require 'echoe'
|
|
|
|
rescue LoadError
|
|
|
|
abort "You'll need to have `echoe' installed to use Capistrano's Rakefile"
|
2005-08-03 12:59:03 +00:00
|
|
|
end
|
|
|
|
|
2008-06-27 11:14:48 -06: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 20:11:09 +00:00
|
|
|
end
|
|
|
|
|
2008-06-27 11:14:48 -06:00
|
|
|
Echoe.new('capistrano', version) do |p|
|
2009-05-13 14:05:53 -04:00
|
|
|
p.include_gemspec = true
|
2008-06-27 11:14:48 -06:00
|
|
|
p.changelog = "CHANGELOG.rdoc"
|
2005-08-03 12:59:03 +00:00
|
|
|
|
2008-06-27 11:14:48 -06:00
|
|
|
p.author = "Jamis Buck"
|
|
|
|
p.email = "jamis@jamisbuck.org"
|
2005-08-30 20:53:32 +00:00
|
|
|
|
2008-06-27 11:14:48 -06: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 14:22:30 +00:00
|
|
|
|
2008-06-27 11:14:48 -06:00
|
|
|
p.url = "http://www.capify.org"
|
|
|
|
p.need_zip = true
|
|
|
|
p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
|
2008-06-27 15:39:37 -06:00
|
|
|
|
2009-02-02 23:11:22 -07:00
|
|
|
p.dependencies = ["net-ssh >=2.0.10",
|
2008-06-28 08:29:19 -06:00
|
|
|
"net-sftp >=2.0.0",
|
|
|
|
"net-scp >=1.0.0",
|
|
|
|
"net-ssh-gateway >=1.0.0",
|
2008-06-27 15:39:37 -06:00
|
|
|
"highline"]
|
2007-04-27 02:20:21 +00:00
|
|
|
end
|