Rakefile in build-files-0.2.9 vs Rakefile in build-files-0.3.0
- old
+ new
@@ -1,6 +1,8 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
-RSpec::Core::RakeTask.new(:spec)
+RSpec::Core::RakeTask.new(:spec) do |task|
+ task.rspec_opts = ["--require", "simplecov"] if ENV['COVERAGE']
+end
task :default => :spec