forked from vigetlabs/capistrano_rsync_with_remote_cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
30 lines (25 loc) · 979 Bytes
/
Rakefile
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
require 'rubygems'
require 'rake/gempackagetask'
require 'rake/testtask'
spec = Gem::Specification.new do |s|
s.name = 'capistrano_rsync_with_remote_cache'
s.version = '2.4.0'
s.has_rdoc = true
s.extra_rdoc_files = %w(README.rdoc)
s.rdoc_options = %w(--main README.rdoc)
s.summary = "A deployment strategy for Capistrano 2.0 which combines rsync with a remote cache, allowing fast deployments from SCM servers behind firewalls."
s.authors = ['Patrick Reagan', 'Mark Cornick']
s.email = '[email protected]'
s.homepage = 'http://www.viget.com/extend/'
s.files = %w(README.rdoc Rakefile) + Dir.glob("{lib,test}/**/*")
s.add_dependency('capistrano', '>=2.1.0')
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
Rake::TestTask.new do |t|
t.libs << 'test'
t.test_files = FileList["test/**/*_test.rb"]
t.verbose = true
end
task :default => :test