Rakefile in morpheus-0.3.6 vs Rakefile in morpheus-0.3.7

- old
+ new

@@ -1,2 +1,18 @@ #!/usr/bin/env rake require 'bundler/gem_tasks' +require 'rspec/core/rake_task' + +desc 'Default: run specs.' +task :default => :spec + +desc 'Run specs' +RSpec::Core::RakeTask.new do |t| + t.pattern = './spec/**/*_spec.rb' +end + +desc 'Generate code coverage' +RSpec::Core::RakeTask.new(:coverage) do |t| + t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default. + t.rcov = true + t.rcov_opts = ['--exclude', 'spec'] +end