Rakefile in makeup-0.3.0 vs Rakefile in makeup-0.4.0

- old
+ new

@@ -1,10 +1,21 @@ require "rake/testtask" +require "ci/reporter/rake/minitest" require "bundler/gem_tasks" Rake::TestTask.new("test") do |test| + test.libs << "lib" test.libs << "test" test.pattern = "test/**/*_test.rb" test.verbose = true +end + +if RUBY_VERSION < "1.9" + require "rcov/rcovtask" + Rcov::RcovTask.new do |t| + t.libs << "test" + t.test_files = FileList["test/**/*_test.rb"] + t.rcov_opts += %w{--exclude gems,ruby/1.} + end end task :default => :test