1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/extconf.rb

17 lines
274 B
Ruby
Raw Normal View History

2009-10-01 22:17:06 -04:00
require 'mkmf'
2009-10-08 23:27:41 -04:00
dir_config('v8')
2009-10-13 13:02:40 -04:00
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