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

Styling changes

This commit is contained in:
ignisf 2014-06-17 16:01:04 +03:00
parent 466b872014
commit 3168c51d4a

View file

@ -2,12 +2,12 @@ require 'bundler/setup'
require 'rspec/core/rake_task'
Bundler::GemHelper.install_tasks
RSpec::Core::RakeTask.new(:spec)
RSpec::Core::RakeTask.new :spec
module Helpers
module_function
def binary_gemspec(platform = Gem::Platform.local)
gemspec = eval(File.read('libv8.gemspec'))
gemspec = eval(File.read 'libv8.gemspec')
gemspec.platform = platform
gemspec
end
@ -44,10 +44,10 @@ task :binary => :compile do
Gem::Builder.new(gemspec).build
else
require 'rubygems/package'
Gem::Package.build(gemspec)
Gem::Package.build gemspec
end
FileUtils.mv(package, 'pkg')
FileUtils.mv package, 'pkg'
end
task :clean_submodules do