mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
Add rspec task to rake in order to test multiple versions of ruby
This commit is contained in:
parent
2586465522
commit
7d9831abed
1 changed files with 6 additions and 0 deletions
6
Rakefile
6
Rakefile
|
@ -34,6 +34,12 @@ rescue LoadError
|
|||
puts "Rake Compiler not available. Install it with: gem install rake-compiler"
|
||||
end
|
||||
|
||||
require 'spec/rake/spectask'
|
||||
Spec::Rake::SpecTask.new(:spec) do |spec|
|
||||
spec.libs << 'lib' << 'spec'
|
||||
spec.spec_files = FileList['spec/**/*_spec.rb']
|
||||
end
|
||||
|
||||
desc "Build gem"
|
||||
task :gem => :build
|
||||
|
||||
|
|
Loading…
Reference in a new issue