Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (34 sloc) 1.02 KB
require 'rake'
require 'rake/rdoctask'
require 'rake/testtask'
require 'rubygems'
require 'spec/rake/spectask'
require 'cucumber/rake/task'
task :default => :spec do |t|
t.cucumber_opts = "spec/features --format pretty"
end do |t|
gem 'relevance-rcov', '>='
t.spec_files = FileList['**/test/**/tc_*.rb', '**/spec/**/*_spec.rb']
t.rcov = true
t.rcov_opts = t.rcov_opts << ['--exclude', '/Library,/opt,/System']
end do |t|
t.spec_files = FileList['**/spec/**/*_spec.rb']
end do |t|
t.libs << 'test'
t.pattern = '**/test/**/tc_*.rb'
t.verbose = true
t.warning = false
end do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Mail'
rdoc.options << '--line-numbers' << '--inline-source'
# load custom rake tasks
Dir["#{File.dirname(__FILE__)}/lib/tasks/**/*.rake"].sort.each { |ext| load ext }
Jump to Line
Something went wrong with that request. Please try again.