Sha256: 928954216e0821d67bb8a82156cc4b330a38b149f65dceef2b0ad022508f8095

Contents?: true

Size: 655 Bytes

Versions: 21

Compression:

Stored size: 655 Bytes

Contents

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require(File.join(File.dirname(__FILE__), 'config', 'boot'))

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
require 'tasks/rails'

require 'rcov/rcovtask'

task :default => [:rcov]

Rcov::RcovTask.new do |t|
  t.test_files = FileList['test/**/*test.rb']
  t.rcov_opts << "--sort coverage --failure-threshold=98 -Ilib:test --rails"
  t.rcov_opts << "--exclude '/gems/,/usr/,/Library,lib/authenticated_test_helper.rb,lib/authenticated_system.rb,app/helpers/users_helper.rb'"
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
branston-0.6.6 lib/branston/Rakefile
branston-0.6.5 lib/branston/Rakefile
branston-0.6.4 lib/branston/Rakefile
branston-0.6.3 lib/branston/Rakefile
branston-0.6.2 lib/branston/Rakefile
branston-0.6.1 lib/branston/Rakefile
branston-0.6.0 lib/branston/Rakefile
branston-0.5.2 lib/branston/Rakefile
branston-0.5.1 lib/branston/Rakefile
branston-0.5.0 lib/branston/Rakefile
branston-0.4.6 lib/branston/Rakefile
branston-0.4.5 lib/branston/Rakefile
branston-0.4.4 lib/branston/Rakefile
branston-0.4.3 lib/branston/Rakefile
branston-0.4.2 lib/branston/Rakefile
branston-0.4.1 lib/branston/Rakefile
branston-0.4.0 lib/branston/Rakefile
branston-0.3.6 lib/branston/Rakefile
branston-0.3.4 lib/branston/Rakefile
branston-0.3.3 lib/branston/Rakefile