minor: rake task to compile and test c extension

This commit is contained in:
Tyler Brock 2012-05-30 14:06:55 -04:00
parent cf4cecb417
commit 6c102f36c2
1 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,12 @@ end
# ext.ext_dir = 'ext/src/org/jbson' # ext.ext_dir = 'ext/src/org/jbson'
#end #end
desc "Compiles and tests MongoDB Ruby driver w/ C extensions."
task :c do
Rake::Task['compile:cbson'].invoke
Rake::Task['test:c'].invoke
end
task :java do task :java do
Rake::Task['build:java'].invoke Rake::Task['build:java'].invoke
Rake::Task['test:ruby'].invoke Rake::Task['test:ruby'].invoke