Skip to content
Newer
Older
100644 21 lines (16 sloc) 475 Bytes
eb33989 @drnic refactor to the 'bundler' method of gem structure; away from echoe
drnic authored Oct 31, 2010
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 May 12, 2008
3
a809370 @drnic complete the refactor to using bundler
drnic authored Oct 31, 2010
4 require 'spec/rake/spectask'
bca9702 @kballard Add spec and rcov_spec tasks to the Rakefile, but only if you have rs…
kballard authored May 12, 2008
5
a809370 @drnic complete the refactor to using bundler
drnic authored Nov 1, 2010
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 Jul 22, 2008
10
a809370 @drnic complete the refactor to using bundler
drnic authored Nov 1, 2010
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 May 12, 2008
16 end
a809370 @drnic complete the refactor to using bundler
drnic authored Nov 1, 2010
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.