Permalink
Browse files

add `rake spec` task and make it the default

  • Loading branch information...
1 parent 90a40a5 commit 0a38fd381e7127cdb2df211dd7144e8702a3dad5 @phlipper committed Jul 7, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 Rakefile
View
@@ -1,2 +1,12 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
+require "rake/testtask"
+
+task :default => :spec
+
+Rake::TestTask.new(:spec) do |t|
+ t.libs << "lib"
+ t.libs << "spec"
+ t.pattern = "spec/**/*_spec.rb"
+ t.verbose = false
+end

0 comments on commit 0a38fd3

Please sign in to comment.