mongo-ruby-driver/Rakefile

15 lines
300 B
Ruby
Raw Normal View History

2008-12-04 21:38:04 +00:00
require 'fileutils'
2008-11-22 01:00:51 +00:00
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']
2008-11-22 01:00:51 +00:00
end
2008-12-04 21:38:04 +00:00
task :rdoc do
FileUtils.rm_rf('doc')
system "rdoc --main README README `find lib -name '*.rb'`"
end