Permalink
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 407 Bytes
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