Sha256: 894bce22638befad3090c6583498737d81c1787a17fdbc4d37bd9d81fb219a86
Contents?: true
Size: 768 Bytes
Versions: 1
Compression:
Stored size: 768 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 if not File.directory?('ext/libuv/build/gyp') system "svn", "export", "-r1214", "http://gyp.googlecode.com/svn/trunk", "ext/libuv/build/gyp" end end CLEAN.include('ext/libuv/build/gyp') if FFI::Platform.windows? require File.join File.expand_path("../", __FILE__), 'tasks/win' elsif FFI::Platform.mac? require File.join File.expand_path("../", __FILE__), 'tasks/mac' else # UNIX require File.join File.expand_path("../", __FILE__), 'tasks/unix' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
libuv-0.11.4 | lib/libuv/ext/tasks.rb |