mirror of
https://github.com/rubyjs/mini_racer
synced 2023-03-27 23:21:28 -04:00
15 lines
364 B
Ruby
15 lines
364 B
Ruby
require "bundler/gem_tasks"
|
|
require "rake/testtask"
|
|
require "rake/extensiontask"
|
|
|
|
Rake::TestTask.new(:test) do |t|
|
|
t.libs << "test"
|
|
t.libs << "lib"
|
|
t.test_files = FileList['test/**/*_test.rb']
|
|
end
|
|
|
|
task :default => :test
|
|
|
|
gem = Gem::Specification.load( File.dirname(__FILE__) + '/mini_racer.gemspec' )
|
|
Rake::ExtensionTask.new( 'mini_racer_extension', gem )
|
|
|