mongo-ruby-driver/Rakefile
2008-12-04 16:38:04 -05:00

15 lines
300 B
Ruby

require 'fileutils'
require 'rake/testtask'
task :default => [:test]
# NOTE: some of the tests assume Mongo is running
Rake::TestTask.new do |t|
t.test_files = FileList['tests/test*.rb']
end
task :rdoc do
FileUtils.rm_rf('doc')
system "rdoc --main README README `find lib -name '*.rb'`"
end