jamis / capistrano

Remote multi-server automation tool. This repository is no longer being actively maintained. Please ask on the mailing list to find someone who has a well-maintained fork. Thanks!

This URL has Read+Write access

capistrano / Rakefile
100644 35 lines (27 sloc) 1.009 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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)/
 
  p.dependencies = ["net-ssh >=2.0.0",
                        "net-sftp >=2.0.0",
                        "net-scp >=1.0.0",
                        "net-ssh-gateway >=1.0.0",
                        "highline"]
end