Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b49573df55
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (28 sloc) 0.975 kb
require 'rake'
require "rake/clean"
require 'rake/gempackagetask'
require 'rake/rdoctask'
desc "Packages up Swissr."
task :default => :package
spec = Gem::Specification.new do |s|
s.name = 'mongo-ec2-backup'
s.version = '0.0.3'
s.summary = 'Snapshot your mongodb in the EC2 cloud via RAID EBS'
s.author = 'Pierre Baillet'
s.email = 'oct@fotopedia.com'
s.homepage = 'https://github.com/octplane/mongo-ec2-consistent-backup'
# These dependencies are only for people who work on this gem
s.add_dependency 'aws-sdk'
s.add_dependency 'trollop'
s.add_dependency 'mongo'
# Include everything in the lib folder
s.files = FileList['lib/**/*.rb', 'bin/*', '[A-Z]*', 'test/**/*'].to_a
s.executables << "lock_and_snapshot"
# Supress the warning about no rubyforge project
s.rubyforge_project = 'nowarning'
end
Rake::GemPackageTask.new(spec) do |package|
package.gem_spec = spec
# package.need_tar = true
# package.need_zip = true
end
Jump to Line
Something went wrong with that request. Please try again.