mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
parent
548160f3b8
commit
ceee20a39c
1 changed files with 2 additions and 1 deletions
3
Rakefile
3
Rakefile
|
@ -70,7 +70,8 @@ task :binary => :compile do
|
||||||
gemspec.files += Dir['vendor/v8/out/**/*.a']
|
gemspec.files += Dir['vendor/v8/out/**/*.a']
|
||||||
FileUtils.chmod 'a+r', gemspec.files
|
FileUtils.chmod 'a+r', gemspec.files
|
||||||
FileUtils.mkdir_p 'pkg'
|
FileUtils.mkdir_p 'pkg'
|
||||||
FileUtils.mv(Gem::Builder.new(gemspec).build, 'pkg')
|
package = RUBY_VERSION < '2.0.0' ? Gem::Builder.new(gemspec).build : Gem::Package.build(gemspec)
|
||||||
|
FileUtils.mv(package, 'pkg')
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "clean up artifacts of the build"
|
desc "clean up artifacts of the build"
|
||||||
|
|
Loading…
Add table
Reference in a new issue