Skip to content

Commit

Permalink
Added task for running single specs at a time.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtodd committed Jun 17, 2008
1 parent 56f4112 commit 02213e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ namespace 'spec' do
task :verb do
sh "bacon -r~/lib/bacon/output -rlib/halcyon -rspec/spec_helper spec/**/* -o CSpecDox"
end

desc "run single rspec verbosely (specify SPEC)"
task :select do
sh "bacon -r~/lib/bacon/output -rlib/halcyon -rspec/spec_helper spec/**/#{ENV['SPEC']}_spec.rb -o CSpecDox"
end
end

desc "Do predistribution stuff"
Expand Down

0 comments on commit 02213e5

Please sign in to comment.