Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (23 sloc) 0.637 kB
#!/usr/bin/env rake
require "bundler/gem_tasks"
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |c|
c.rspec_opts = "--profile"
end
task :default => :spec
rescue LoadError
warn "rspec not available, spec task not provided"
end
begin
require 'cane/rake_task'
desc "Run cane to check quality metrics"
Cane::RakeTask.new(:quality) do |cane|
cane.abc_max = 12
cane.add_threshold 'coverage/covered_percent', :>=, 100
end
task :default => :quality
rescue LoadError
warn "cane not available, quality task not provided."
end
Jump to Line
Something went wrong with that request. Please try again.