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

26 lines (20 sloc) 0.505 kb
require 'rake'
require 'rake/gempackagetask'
task :default => :spec
# Specs.
#
require 'spec'
require 'spec/rake/spectask'
spec_root = File.join(File.dirname(__FILE__), 'spec')
desc "Run specs"
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts = ['--options', "\"#{File.join(spec_root, 'spec.opts')}\""]
t.spec_files = FileList[File.join(spec_root, '**', '*_spec.rb')]
end
task :simplecov do
ENV['COV'] = 'yes'
end
task :cov do
Rake::Task['simplecov'].invoke
Rake::Task['spec'].invoke
end
Jump to Line
Something went wrong with that request. Please try again.