Sha256: f3e2791dc83a10d08434860ae7cdc7695c9af3151039127a553b14a15d2a511a

Contents?: true

Size: 809 Bytes

Versions: 6

Compression:

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

6 entries across 6 versions & 1 rubygems

Version Path
r509-ca-http-0.3.2 Rakefile
r509-ca-http-0.3.1 Rakefile
r509-ca-http-0.3.0 Rakefile
r509-ca-http-0.2.2 Rakefile
r509-ca-http-0.2.1 Rakefile
r509-ca-http-0.2 Rakefile