forked from bguthrie/awsymandias
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
47 lines (37 loc) · 1.52 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
require 'rubygems'
require 'spec/rake/spectask'
require 'rake/gempackagetask'
require 'jeweler'
namespace :spec do
desc "runs all the unit specs"
Spec::Rake::SpecTask.new(:unit) do |t|
t.rcov = true
t.rcov_opts = ["--text-summary", "--include-file lib/awsymandias", "--exclude gems,spec"]
t.spec_files = FileList['spec/unit/**/*_spec.rb']
end
desc "runs all the integration specs (requires AMAZON_ACCESS_KEY_ID and AMAZON_SECRET_ACCESS_KEY env variables to be set)"
Spec::Rake::SpecTask.new(:integration) do |t|
t.rcov = true
t.rcov_opts = ["--text-summary", "--include-file lib/awsymandias", "--exclude gems,spec"]
t.spec_files = FileList['spec/integration/**/*.rb']
end
end
desc "runs all the specs"
task :spec => [:'spec:unit', :'spec:integration']
task :default => [:spec]
desc "Open an irb session preloaded with this library"
task :console do
sh "irb -rubygems -I lib -r awsymandias"
end
Jeweler::Tasks.new do |s|
s.name = "awsymandias"
s.summary = "A library for helping you set up, track, and tear down complicated deployment configurations in Amazon EC2."
s.email = "[email protected]"
s.homepage = "http://github.com/bguthrie/awsymandias"
s.description = "A library for helping you set up, track, and tear down complicated deployment configurations in Amazon EC2."
s.authors = ["Brian Guthrie"]
s.add_dependency 'activesupport', '>= 2.3.0'
s.add_dependency 'activeresource', '>= 2.3.0'
s.add_dependency 'grempe-amazon-ec2', '>= 0.4.2'
s.add_dependency 'money', '>= 2.1.3'
end