Sha256: deacfaea943ef7bc2030ac0c791c926c75b4697d98d3aa857cbc40408ae121f4
Contents?: true
Size: 899 Bytes
Versions: 1
Compression:
Stored size: 899 Bytes
Contents
# $Id: spec.rake 461 2008-01-04 20:55:37Z tim_pease $ if HAVE_SPEC_RAKE_SPECTASK namespace :spec do desc 'Run all specs with basic output' Spec::Rake::SpecTask.new(:run) do |t| t.spec_opts = PROJ.spec_opts t.spec_files = PROJ.specs end desc 'Run all specs with text output' Spec::Rake::SpecTask.new(:specdoc) do |t| t.spec_opts = PROJ.spec_opts + ['--format', 'specdoc'] t.spec_files = PROJ.specs end if HAVE_RCOV desc 'Run all specs with RCov' Spec::Rake::SpecTask.new(:rcov) do |t| t.spec_opts = PROJ.spec_opts t.spec_files = PROJ.specs t.rcov = true t.rcov_opts = PROJ.rcov_opts + ['--exclude', 'spec'] end end end # namespace :spec desc 'Alias to spec:run' task :spec => 'spec:run' task :clobber => 'spec:clobber_rcov' if HAVE_RCOV remove_desc_for_task %w(spec:clobber_rcov) end # if HAVE_SPEC_RAKE_SPECTASK # EOF
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bones-1.3.0 | tasks/spec.rake |