/
Rakefile
executable file
·33 lines (29 loc) · 1.01 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
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "hipchat-s3"
gem.summary = %Q{Ruby library to upload files to s3 and alert users in hipchat with a link}
gem.description = %Q{Ruby library to upload files to s3 and alert users in hipchat with a link}
gem.email = "jd@stinware.com"
gem.homepage = "http://github.com/jstin/hipchat-s3"
gem.authors = ["Justin"]
gem.add_dependency "hipchat"
gem.add_dependency "aws-s3"
gem.add_development_dependency "rspec", "~> 2.0"
gem.add_development_dependency "rr", "~> 1.0"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
task :default => :spec
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "hipchat-s3 #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end