Sha256: b6b43fa4e0b0905348a783b42c57f9a149448c4cae37187bd2d92499403e57c8

Contents?: true

Size: 775 Bytes

Versions: 3

Compression:

Stored size: 775 Bytes

Contents

require 'rubygems'
require 'rspec/core/rake_task'
require "#{File.dirname(__FILE__)}/lib/r509/version"

task :default => :spec
RSpec::Core::RakeTask.new(:spec)

namespace :gem do
  desc 'Build the gem'
  task :build do
    puts `yard`
    puts `gem build r509.gemspec`
  end

  desc 'Install gem'
  task :install do
    puts `gem install r509-#{R509::VERSION}.gem`
  end

  desc 'Uninstall gem'
  task :uninstall do
    puts `gem uninstall r509`
  end
end

desc "Open an irb session with the lib dir included"
task :irb do
  $:.unshift File.expand_path("../../lib", __FILE__)
  $:.unshift File.expand_path("../", __FILE__)
  require 'r509'
  require 'irb'
  ARGV.clear
  IRB.start
end


desc 'Build yard documentation'
task :yard do
  puts `yard`
  `open doc/index.html`
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
r509-0.9.2 Rakefile
r509-0.9.1 Rakefile
r509-0.9 Rakefile