Sha256: 93874a442b7ecc785bbb0f347e84127e22839ae4d22943699fb15b831f8608c3

Contents?: true

Size: 696 Bytes

Versions: 1

Compression:

Stored size: 696 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

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

1 entries across 1 versions & 1 rubygems

Version Path
r509-ocsp-responder-0.3.3 Rakefile