Sha256: 958efee2a79b781a2be2510000311a5e007b27cee9f341a199e2c1ca59424b0c

Contents?: true

Size: 524 Bytes

Versions: 1

Compression:

Stored size: 524 Bytes

Contents

module FFI::Platform
  def self.ia32?
    ARCH == "i386"
  end

  def self.x64?
    ARCH == "x86_64"
  end
end

file 'ext/libuv/build' do
  system "git", "submodule", "update", "--init"
end

file 'ext/libuv/build/gyp' => 'ext/libuv/build' do
  system "svn", "export", "-r1214", "http://gyp.googlecode.com/svn/trunk", "ext/libuv/build/gyp"
end

CLEAN.include('ext/libuv/build/gyp')

if FFI::Platform.windows?
  require 'uv/tasks/win'
elsif FFI::Platform.mac?
  require 'uv/tasks/mac'
else # UNIX
  require 'uv/tasks/unix'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uvrb-0.1.0 lib/uv/tasks.rb