Sha256: b9f5937c0ac838b62ef0175a4709e5884cf0d42f7474b1e4b35ea2183f247a06

Contents?: true

Size: 488 Bytes

Versions: 3

Compression:

Stored size: 488 Bytes

Contents

#!/opt/local/bin/ruby
require 'mkmf'

dir_config('v8')
have_library('v8') or raise "unable to find libv8"

$CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
therubyracer-0.4.6 ext/v8/extconf.rb
therubyracer-0.4.5 ext/v8/extconf.rb
therubyracer-0.4.4 ext/v8/extconf.rb