forked from appoxy/aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
82 lines (71 loc) · 2.35 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# -*- ruby -*-
require 'rubygems'
#require 'psych'
#require "rake/testtask"
#require 'rcov/rcovtask'
$: << File.dirname(__FILE__)
require 'lib/right_aws.rb'
testglobs = ["test/ts_right_aws.rb"]
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "aws"
gem.summary = "AWS Ruby Library for interfacing with Amazon Web Services. By http://www.appoxy.com"
gem.email = "[email protected]"
gem.homepage = "http://github.com/appoxy/aws/"
gem.description = "AWS Ruby Library for interfacing with Amazon Web Services including EC2, S3, SQS, SimpleDB and most of their other services as well. By http://www.appoxy.com"
gem.authors = ["Travis Reeder", "Chad Arimura", "RightScale"]
gem.files = FileList['lib/**/*.rb']
gem.add_dependency 'uuidtools'
gem.add_dependency 'http_connection'
gem.add_dependency 'xml-simple'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
#desc "Analyze code coverage of the unit tests."
#Rcov::RcovTask.new do |t|
# t.test_files = FileList[testglobs]
# t.verbose = true # uncomment to see the executed command
#end
desc "Test just the SQS interface"
task :testsqs do
require 'test/test_credentials'
require 'test/http_connection'
TestCredentials.get_credentials
require 'test/sqs/test_sqs.rb'
end
desc "Test just the S3 interface"
task :tests3 do
require 'test/test_credentials'
require 'test/http_connection'
TestCredentials.get_credentials
require 'test/s3/test_s3.rb'
end
desc "Test just the S3 interface using local stubs"
task :tests3local do
require 'test/test_credentials'
require 'test/http_connection'
TestCredentials.get_credentials
require 'test/s3/test_s3_stubbed.rb'
end
desc "Test just the EC2 interface"
task :testec2 do
require 'test/test_credentials'
TestCredentials.get_credentials
require 'test/ec2/test_ec2.rb'
end
desc "Test just the SDB interface"
task :testsdb do
require 'test/test_credentials'
TestCredentials.get_credentials
require 'test/sdb/test_sdb.rb'
end
desc "Test CloudFront interface"
task :testacf do
require 'test/test_credentials'
TestCredentials.get_credentials
require 'test/acf/test_acf.rb'
end
# vim: syntax=Ruby