blob: a41b89b7bc32eba135f91bea8b5192b7a49e235e [file] [log] [blame]
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