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
|
2009-11-03 18:38:10 -05:00
|
|
|
|
require 'jeweler'
|
|
|
|
|
Jeweler::Tasks.new do |gem|
|
|
|
|
|
gem.version
|
|
|
|
|
gem.name = "capistrano"
|
|
|
|
|
gem.summary = %Q{Capistrano – Welcome to easy deployment with Ruby over SSH}
|
|
|
|
|
gem.description = %Q{Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.}
|
|
|
|
|
gem.homepage = "http://github.com/capistrano/capistrano"
|
|
|
|
|
gem.email = [ "jamis@jamisbuck.org", "lee.hambley@gmail.com" ]
|
|
|
|
|
gem.authors = [ "Jamis Buck", "Lee Hambley" ]
|
|
|
|
|
gem.add_dependency "net-ssh", ">=2.0.14"
|
|
|
|
|
gem.add_dependency "net-sftp", ">=2.0.0"
|
|
|
|
|
gem.add_dependency "net-scp", ">=1.0.0"
|
|
|
|
|
gem.add_dependency "net-ssh-gateway", ">=1.0.0"
|
|
|
|
|
gem.add_dependency "highline"
|
|
|
|
|
gem.add_development_dependency "mocha", ">= 0"
|
|
|
|
|
end
|
2008-06-27 13:14:48 -04:00
|
|
|
|
rescue LoadError
|
2009-11-03 18:38:10 -05:00
|
|
|
|
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
2005-08-03 08:59:03 -04:00
|
|
|
|
end
|
|
|
|
|
|
2009-11-03 18:38:10 -05:00
|
|
|
|
require 'rake/testtask'
|
|
|
|
|
Rake::TestTask.new(:test) do |test|
|
|
|
|
|
test.libs << 'lib' << 'test'
|
|
|
|
|
test.pattern = 'test/**/*_test.rb'
|
|
|
|
|
test.verbose = true
|
2007-03-04 15:11:09 -05:00
|
|
|
|
end
|
|
|
|
|
|
2009-11-03 18:38:10 -05:00
|
|
|
|
task :test => :check_dependencies
|
|
|
|
|
task :default => :test
|
2005-08-03 08:59:03 -04:00
|
|
|
|
|