-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathRakefile
33 lines (29 loc) · 970 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
31
32
33
require 'rubygems'
require 'rake'
require 'rake/testtask'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = 'cap-ext-parallelize'
s.summary = 'A drop-in replacement for Capistrano to fire off Webistrano deployments transparently without losing the joy of using the cap command.'
s.email = '[email protected]'
s.homepage = 'http://github.com/mattmatt/cap-ext-parallelize'
s.authors = ["Mathias Meyer"]
s.files = FileList["[A-Z]*", "{lib,test}/**/*"]
s.add_dependency 'capistrano'
end
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
desc "Default Task"
task :default => ["test"]
desc "Runs the unit tests"
task :test => "test:unit"
namespace :test do
desc "Unit tests"
Rake::TestTask.new(:unit) do |t|
t.libs << 'test/unit'
t.pattern = "test/*_shoulda.rb"
t.verbose = true
end
end