Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e0c917c0eb
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 28 lines (21 sloc) 0.568 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
require "rubygems"
require "bundler"
Bundler.setup

require 'rake'
require 'rspec/core/rake_task'
require 'roodi'
require 'roodi_task'

require 'abn'

desc "Default: run specs"
task :default => :spec

desc "Run all the specs for the ABN library"
RSpec::Core::RakeTask.new(:spec) do |t|
  t.rspec_opts = ['--colour']
end

desc "Run all the specs for the ABN library with rcov"
RSpec::Core::RakeTask.new(:rcov) do |t|
  t.rspec_opts = ['--colour']
  t.rcov = true
  t.rcov_opts = ["--exclude /var", "--exclude spec"]
end

RoodiTask.new 'roodi', ['lib/**/*.rb']
Something went wrong with that request. Please try again.