mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Updated V8 3.3.10 and added V8_VERSION
This commit is contained in:
parent
bdb463c60c
commit
18d3ed52b0
4 changed files with 5 additions and 6 deletions
3
Rakefile
3
Rakefile
|
@ -43,7 +43,6 @@ task "compile" do
|
||||||
puts "Compiling V8..."
|
puts "Compiling V8..."
|
||||||
Dir.chdir(File.join('lib', 'libv8')) do
|
Dir.chdir(File.join('lib', 'libv8')) do
|
||||||
`make`
|
`make`
|
||||||
`cp build/v8/libv8.* .`
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -59,7 +58,7 @@ task "binary" => "compile" do
|
||||||
gemspec = eval(File.read('libv8.gemspec'))
|
gemspec = eval(File.read('libv8.gemspec'))
|
||||||
gemspec.extensions.clear
|
gemspec.extensions.clear
|
||||||
gemspec.platform = Gem::Platform.new(RUBY_PLATFORM)
|
gemspec.platform = Gem::Platform.new(RUBY_PLATFORM)
|
||||||
gemspec.files << "lib/libv8/libv8.a"
|
gemspec.files << "lib/libv8/build/v8/libv8.a"
|
||||||
FileUtils.mkdir_p 'pkg'
|
FileUtils.mkdir_p 'pkg'
|
||||||
FileUtils.mv(Gem::Builder.new(gemspec).build, 'pkg')
|
FileUtils.mv(Gem::Builder.new(gemspec).build, 'pkg')
|
||||||
end
|
end
|
|
@ -3,7 +3,7 @@ require 'pathname'
|
||||||
require 'libv8/version'
|
require 'libv8/version'
|
||||||
|
|
||||||
module Libv8
|
module Libv8
|
||||||
LIBRARY_PATH = Pathname(__FILE__).dirname.join('libv8').to_s
|
LIBRARY_PATH = Pathname(__FILE__).dirname.join('libv8', 'build', 'v8').to_s
|
||||||
def self.library_path
|
def self.library_path
|
||||||
LIBRARY_PATH
|
LIBRARY_PATH
|
||||||
end
|
end
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1a3419a9c7dffa633c41e36b7d63b03149f4f123
|
Subproject commit de15804c3fd5bbbb44543f00878ae301d92f7ace
|
|
@ -1,4 +1,4 @@
|
||||||
module Libv8
|
module Libv8
|
||||||
# Get the version from the git repo
|
V8_VERSION = "3.3.10"
|
||||||
VERSION = "3.3.8.2"
|
VERSION = V8_VERSION + ""
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue