Sha256: 4dd4719b6a4ef9a1bbd120a25b3930f73edc03c5d259a3c69e3393de9b0e777a

Contents?: true

Size: 741 Bytes

Versions: 2

Compression:

Stored size: 741 Bytes

Contents

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

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

desc 'Run all rspec tests with rcov (1.8 only)'
RSpec::Core::RakeTask.new(:rcov) do |t|
    t.rcov_opts =  %q[--exclude "spec,gems"]
    t.rcov = true
end


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 'Build yard documentation'
task :yard do
    puts `yard`
    `open doc/index.html`
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
r509-0.8.1 Rakefile
r509-0.8 Rakefile