-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
32 lines (29 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
31
32
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
warn e.message
warn "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'
require 'juwelier'
Juwelier::Tasks.new do |gem|
gem.name = "rds-rotate-db-snapshots"
gem.homepage = "http://github.com/serg-kovalev/rds-rotate-db-snapshots"
gem.license = "MIT"
gem.summary = %(Amazon RDS DB snapshot rotator)
gem.description = %(Provides a simple way to rotate RDS DB snapshots with configurable retention periods.)
gem.email = "[email protected]"
gem.authors = ["Siarhei Kavaliou"]
gem.version = File.exist?('VERSION') ? File.read('VERSION') : ""
end
Juwelier::RubygemsDotOrgTasks.new
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "rds-rotate-db-snapshots #{version}"
rdoc.rdoc_files.include('README*')
end