mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
68c968e109
std::string, and added pushUnknown() to conversion destination classes
24 lines
403 B
Ruby
24 lines
403 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 -O spec/spec.opts spec/therubyracer_spec.rb
|
|
|
|
docs/cpp:
|
|
mkdir -p docs/cpp
|
|
|
|
docs: all docs/cpp
|
|
@echo Generate C++ docs to docs/cpp/html
|
|
doxygen Doxyfile
|
|
|
|
EOF
|
|
end
|