Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.434 kB
#!/usr/bin/env rake
require "bundler/gem_tasks"
begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec
rescue LoadError
$stderr.puts "rspec not available, spec task not provided"
end
desc "Run cane to check quality metrics"
task :quality do
puts `bin/cane --abc-max 10 --gte coverage/covered_percent,99`
exit $?.exitstatus unless $?.exitstatus == 0
end
task :default => :quality
Jump to Line
Something went wrong with that request. Please try again.