mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Fix binary gem creation
This commit is contained in:
parent
35154fd029
commit
9d1bc41a79
2 changed files with 2 additions and 3 deletions
4
Rakefile
4
Rakefile
|
@ -43,12 +43,12 @@ task :binary => :compile do
|
|||
# We don't need most things for the binary
|
||||
gemspec.files = []
|
||||
gemspec.files += ['lib/libv8.rb', 'lib/libv8/version.rb']
|
||||
gemspec.files += ['ext/libv8/arch.rb', 'ext/libv8/location.rb', 'ext/libv8/paths.rb']
|
||||
gemspec.files += ['ext/libv8/location.rb', 'ext/libv8/paths.rb']
|
||||
gemspec.files += ['ext/libv8/.location.yml']
|
||||
|
||||
# V8
|
||||
gemspec.files += Dir['vendor/v8/include/**/*.h']
|
||||
gemspec.files += Dir['vendor/v8/out/**/*.a']
|
||||
gemspec.files += Dir['vendor/v8/out.gn/**/*.a']
|
||||
|
||||
FileUtils.chmod 0644, gemspec.files
|
||||
FileUtils.mkdir_p 'pkg'
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
require 'rbconfig'
|
||||
require 'shellwords'
|
||||
require File.expand_path '../arch', __FILE__
|
||||
|
||||
module Libv8
|
||||
module Paths
|
||||
|
|
Loading…
Add table
Reference in a new issue