Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (30 sloc) 0.893 kb
# encoding: utf-8
begin
require 'bundler'
Bundler::GemHelper.install_tasks
rescue LoadError
$stderr.puts "Bundler not installed. You should install it with: gem install bundler"
end
$LOAD_PATH << File.expand_path('./lib', File.dirname(__FILE__))
require 'bluepill/version'
begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
if RUBY_VERSION >= '1.9'
RSpec::Core::RakeTask.new(:cov) do |t|
ENV['ENABLE_SIMPLECOV'] = '1'
t.ruby_opts = '-w'
t.rcov_opts = %q[-Ilib --exclude "spec/*,gems/*"]
end
end
rescue LoadError
$stderr.puts "RSpec not available. Install it with: gem install rspec-core rspec-expectations rr faker"
end
begin
require 'yard'
YARD::Rake::YardocTask.new do |yard|
yard.options << "--title='bluepill #{Bluepill::VERSION}'"
end
rescue LoadError
$stderr.puts "Please install YARD with: gem install yard"
end
Jump to Line
Something went wrong with that request. Please try again.