Sha256: f76ee3850acb9488aba77a82cd9dccb3c5195405b01c8bd11d63c7cafacdc35a

Contents?: true

Size: 853 Bytes

Versions: 1

Compression:

Stored size: 853 Bytes

Contents

require 'rubygems'
require 'rspec/core/rake_task'
require "#{File.dirname(__FILE__)}/lib/r509/certificateauthority/http/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-ca-http.gemspec`
    end

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

    desc 'Uninstall gem'
    task :uninstall do
        puts `gem uninstall r509-ca-http`
    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-ca-http-0.1 Rakefile