mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Styling changes
This commit is contained in:
parent
466b872014
commit
3168c51d4a
1 changed files with 4 additions and 4 deletions
8
Rakefile
8
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue