Permalink
Browse files

Adds rake spec task

  • Loading branch information...
1 parent ce8fc74 commit 4e73e05e3a9103ca76aa0211a03fad36f3d6ee7f @jeroenj committed Mar 2, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 Rakefile
View
@@ -1,2 +1,12 @@
require 'bundler'
Bundler::GemHelper.install_tasks
+
+require 'rake'
+require 'rspec/core/rake_task'
+
+desc "Run all examples"
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.rspec_opts = %w[--color]
+end
+
+task :default => :spec

0 comments on commit 4e73e05

Please sign in to comment.