Skip to content
Browse files

new task for specs

  • Loading branch information...
1 parent b740439 commit ce17a0c11ea4ce3fc9e9237ee682faefb09b047a @jney jney committed Oct 22, 2008
Showing with 6 additions and 1 deletion.
  1. +6 −1 Rakefile
View
7 Rakefile
@@ -1,8 +1,13 @@
require 'rubygems'
require 'rake'
require 'rake/rdoctask'
+require 'spec/rake/spectask'
-# TODO add task to execute specs
+desc 'Run the specs'
+Spec::Rake::SpecTask.new(:spec) do |t|
+ t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
+ t.spec_files = FileList['spec/**/*_spec.rb']
+end
desc 'Generate RDoc documentation.'
Rake::RDocTask.new(:rdoc) do |rdoc|

0 comments on commit ce17a0c

Please sign in to comment.
Something went wrong with that request. Please try again.