Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 24 lines (19 sloc) 0.525 kB
eb33989 @drnic refactor to the 'bundler' method of gem structure; away from echoe
drnic authored
1 require "bundler/setup"
2 Bundler::GemHelper.install_tasks
bca9702 @kballard Add spec and rcov_spec tasks to the Rakefile, but only if you have rs…
kballard authored
3
4 # add spec tasks, if you have rspec installed
5 begin
6 require 'spec/rake/spectask'
7
8 Spec::Rake::SpecTask.new("spec") do |t|
9 t.spec_files = FileList['spec/**/*_spec.rb']
10 t.spec_opts = ['--color']
11 end
12
4b5d9e2 @defunkt `rake test` should run `rake spec`
authored
13 task :test do
14 Rake::Task['spec'].invoke
15 end
16
bca9702 @kballard Add spec and rcov_spec tasks to the Rakefile, but only if you have rs…
kballard authored
17 Spec::Rake::SpecTask.new("rcov_spec") do |t|
18 t.spec_files = FileList['spec/**/*_spec.rb']
19 t.spec_opts = ['--color']
20 t.rcov = true
0fad995 @kballard Tweak the rcov exclusion patterns again
kballard authored
21 t.rcov_opts = ['--exclude', '^spec,/gems/']
bca9702 @kballard Add spec and rcov_spec tasks to the Rakefile, but only if you have rs…
kballard authored
22 end
23 end
Something went wrong with that request. Please try again.