Sha256: f13b264ffe4a08903d92b0d6ec84d90f28306a69358d444ad412e63183ae3f6a

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

require 'rake'
require 'rake/clean'
require 'rspec/core/rake_task'

CLEAN.include("**/*.gem", "**/*.rbc", "**/*.lock")

namespace :gem do
  desc "Create the dbi-dbrc gem"
  task :create => [:clean] do
    require 'rubygems/package'
    spec = Gem::Specification.load('dbi-dbrc.gemspec')
    spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem')
    Gem::Package.build(spec)
  end

  desc "Install the dbi-dbrc gem"
  task :install => [:create] do
    gem = Dir["*.gem"].first
    sh "gem install -l #{gem}"
  end
end

desc "Run the test suite"
RSpec::Core::RakeTask.new(:spec)

task :default => :spec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dbi-dbrc-1.7.0 Rakefile
dbi-dbrc-1.6.0 Rakefile