Permalink
Browse files

Improvement Rakefile

  • Loading branch information...
1 parent 4cf4117 commit 02b944148d503df2fafc5a7fc0d5039bf9754a47 @id774 id774 committed Feb 4, 2013
Showing with 3 additions and 5 deletions.
  1. +3 −5 Rakefile
View
@@ -1,22 +1,20 @@
# -*- mode: ruby; coding: utf-8 -*-
require 'rubygems'
require 'bundler'
-
require 'rake'
require 'rake/clean'
require 'rubygems/package_task'
require 'rdoc/task'
+require 'rspec/core'
+require 'rspec/core/rake_task'
Bundler::GemHelper.install_tasks
-require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.rspec_opts = ["-c","-fs"]
spec.pattern = FileList['spec/**/*_spec.rb']
- spec.rcov = true
end
-task :spec => :check_dependencies
-
task :default => :spec
desc 'Generate documentation for the termtter.'

0 comments on commit 02b9441

Please sign in to comment.