Sha256: a0bfc6bd59601db6947b3612c58b6a3a430ca05050c7931433fee122666a44de

Contents?: true

Size: 731 Bytes

Versions: 12

Compression:

Stored size: 731 Bytes

Contents

file "ext/libuv/Release/libuv.#{FFI::Platform::LIBSUFFIX}" do
    target_arch = 'ia32'
    target_arch = 'x64' if FFI::Platform.x64?

    Dir.chdir("ext/libuv") do |path|
        system 'git', 'clone', 'https://chromium.googlesource.com/external/gyp', 'build/gyp'
        system 'vcbuild.bat', 'shared', 'release', target_arch
    end
end

file "ext/libuv/lib/libuv.#{FFI::Platform::LIBSUFFIX}" => "ext/libuv/Release/libuv.#{FFI::Platform::LIBSUFFIX}" do
    FileUtils.mkdir('ext/libuv/lib') unless File.directory?('ext/libuv/lib')
    FileUtils.cp("ext/libuv/Release/libuv.#{FFI::Platform::LIBSUFFIX}", "ext/libuv/lib/libuv.#{FFI::Platform::LIBSUFFIX}")
end

CLOBBER.include("ext/libuv/Release/libuv.#{FFI::Platform::LIBSUFFIX}")

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
libuv-2.0.12 lib/libuv/ext/tasks/win.rb
libuv-2.0.11 lib/libuv/ext/tasks/win.rb
libuv-2.0.10 lib/libuv/ext/tasks/win.rb
libuv-2.0.9 lib/libuv/ext/tasks/win.rb
libuv-2.0.8 lib/libuv/ext/tasks/win.rb
libuv-2.0.6 lib/libuv/ext/tasks/win.rb
libuv-2.0.5 lib/libuv/ext/tasks/win.rb
libuv-2.0.4 lib/libuv/ext/tasks/win.rb
libuv-2.0.3 lib/libuv/ext/tasks/win.rb
libuv-2.0.2 lib/libuv/ext/tasks/win.rb
libuv-2.0.1 lib/libuv/ext/tasks/win.rb
libuv-2.0.0 lib/libuv/ext/tasks/win.rb