Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 21 lines (16 sloc) 0.475 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
a809370 @drnic complete the refactor to using bundler
drnic authored
4 require 'spec/rake/spectask'
bca9702 @kballard Add spec and rcov_spec tasks to the Rakefile, but only if you have rs…
kballard authored
5
a809370 @drnic complete the refactor to using bundler
drnic authored
6 Spec::Rake::SpecTask.new("spec") do |t|
7 t.spec_files = FileList['spec/**/*_spec.rb']
8 t.spec_opts = ['--color']
9 end
4b5d9e2 @defunkt `rake test` should run `rake spec`
authored
10
a809370 @drnic complete the refactor to using bundler
drnic authored
11 Spec::Rake::SpecTask.new("rcov_spec") do |t|
12 t.spec_files = FileList['spec/**/*_spec.rb']
13 t.spec_opts = ['--color']
14 t.rcov = true
15 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
16 end
a809370 @drnic complete the refactor to using bundler
drnic authored
17
18 task :test => :spec
19
20 desc "Run specs as default activity"
21 task :default => :spec
Something went wrong with that request. Please try again.