mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
c2a07b19ef
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668913 13f79535-47bb-0310-9956-ffa450edef68
18 lines
331 B
Ruby
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
|