mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
11 lines
281 B
Ruby
11 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
|