Skip to content
This repository
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (17 sloc) 0.407 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
require 'rake/testtask'

task :default => [:test]
task :build

Rake::TestTask.new do |t|
  t.libs = ["lib"]
  t.verbose = true
  t.test_files = FileList['test/**/*.rb'].reject do |file|
    file.end_with?('_lib.rb')
  end
end

Rake::TestTask.new(:test_unit) do |t|
  t.libs = ["lib"]
  t.verbose = true
  t.test_files = FileList['test/unit/**/*.rb'].reject do |file|
    file.end_with?('_lib.rb')
  end
end
Something went wrong with that request. Please try again.