Sha256: 47c7868116203f2f7f2ee13f7f88cfd74fc05ecda8c776b05b265e560515e1cc

Contents?: true

Size: 638 Bytes

Versions: 4

Compression:

Stored size: 638 Bytes

Contents

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

CLEAN.include('**/*.gem', '**/*.rbc', '**/*.rbx', '**/*.lock')

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

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

desc "Run the test suite"
RSpec::Core::RakeTask.new(:spec)
task :default => :spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rslp-0.1.1 Rakefile
rslp-0.1.0 Rakefile
rslp-0.0.2 Rakefile
rslp-0.0.1 Rakefile