Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.2.0
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.547 kb
require 'rubygems'
task :default => :test
task :test => :spec
if RUBY_ENGINE == 'macruby'
require 'rake/compiletask'
Rake::CompileTask.new
end
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end
require 'rake/gempackagetask'
spec = Gem::Specification.load('rspec-pride.gemspec')
Rake::GemPackageTask.new(spec) { }
require 'rubygems/installer'
desc 'Build the gem and install it'
task :install => :gem do
Gem::Installer.new("pkg/#{spec.file_name}").install
end
Jump to Line
Something went wrong with that request. Please try again.