1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/extconf.rb
Bill Robertson be8f4b2594 Tweak extconf to generate test target that
calls ruby spec.
2009-10-15 23:45:53 -04:00

16 lines
274 B
Ruby

require 'mkmf'
dir_config('v8')
have_library('v8') or raise "unable to find libv8"
create_makefile('v8')
# now add a few extra targets
File.open("Makefile", "a") do |makefile|
makefile.print <<EOF
test: all
@echo running spec...
spec spec/therubyracer_spec.rb
EOF
end