Sha256: 504730c27003d41229a2effa8266cd11dadf263d88c694d4a0f6ffe2663e9276

Contents?: true

Size: 852 Bytes

Versions: 2

Compression:

Stored size: 852 Bytes

Contents

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

task :default => :spec
RSpec::Core::RakeTask.new(:spec) do
    ENV['RACK_ENV'] = 'test'
end

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-ocsp-responder.gemspec`
    end

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

    desc 'Uninstall gem'
    task :uninstall do
        puts `gem uninstall r509-ocsp-responder`
    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-ocsp-responder-0.3.2 Rakefile
r509-ocsp-responder-0.3.1 Rakefile