thrift/lib/rb/Rakefile
2008-06-18 00:57:06 +00:00

18 lines
331 B
Ruby

require 'rubygems'
require 'rake'
require 'spec/rake/spectask'
task :default => [:spec, :test]
Spec::Rake::SpecTask.new("spec") do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = ['--color']
end
task :test do
fork do
exec 'make', '-C', File.dirname(__FILE__) + "/../../test/rb"
end
Process.wait
end