mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
![Jamis Buck](/assets/img/avatar_default.png)
This brings Capistrano into line with Net::SSH and it's sister libraries. It also makes Capistrano::Version inherit from Net::SSH::Version for more consistent Version behavior across the libraries.
28 lines
768 B
Ruby
28 lines
768 B
Ruby
require "./lib/capistrano/version"
|
|
|
|
begin
|
|
require 'echoe'
|
|
rescue LoadError
|
|
abort "You'll need to have `echoe' installed to use Capistrano's Rakefile"
|
|
end
|
|
|
|
version = Capistrano::Version::STRING.dup
|
|
if ENV['SNAPSHOT'].to_i == 1
|
|
version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
|
|
end
|
|
|
|
Echoe.new('capistrano', version) do |p|
|
|
p.changelog = "CHANGELOG.rdoc"
|
|
|
|
p.author = "Jamis Buck"
|
|
p.email = "jamis@jamisbuck.org"
|
|
|
|
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
|
|
|
|
p.url = "http://www.capify.org"
|
|
p.need_zip = true
|
|
p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
|
|
end
|