1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/tasks/spec.rake
2010-03-22 22:50:27 -05:00

10 lines
281 B
Ruby

begin
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
end
task :spec => :compile
rescue LoadError => e
puts "unable to run specs from rake. gem install rspec"
end