1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

fix the binary installation.

This commit is contained in:
Charles Lowell 2012-05-01 15:04:47 -07:00
parent 95ecfcac51
commit 0eeadb07d0

View file

@ -40,10 +40,10 @@ task :binary => :compile do
gemspec.platform = Gem::Platform.new(RUBY_PLATFORM)
# We don't need most things for the binary
gemspec.files = ['lib/libv8.rb', 'lib/arch.rb', 'lib/libv8/version.rb']
gemspec.files = ['lib/libv8.rb', 'ext/libv8/arch.rb', 'lib/libv8/version.rb']
# V8
gemspec.files += Dir['vendor/v8/include/*']
gemspec.files += Dir['vendor/v8/out/native/*']
gemspec.files += Dir['vendor/v8/out/**/*.a']
FileUtils.mkdir_p 'pkg'
FileUtils.mv(Gem::Builder.new(gemspec).build, 'pkg')
end