Permalink
Browse files

Add `spec` task to Rakefile and make it default.

  • Loading branch information...
Peter Suschlik
Peter Suschlik committed Aug 22, 2013
1 parent e486c2b commit c49c9fcd1138ae73e372598e9606708295ebae2b
Showing with 6 additions and 0 deletions.
  1. +6 −0 Rakefile
View
@@ -1,6 +1,12 @@
require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
require 'yard'
+desc "Run specs"
+task :default => :spec
+
+RSpec::Core::RakeTask.new(:spec)
+
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb']
end

0 comments on commit c49c9fc

Please sign in to comment.