Sha256: f4cba0497741d20d806dafbb3d3e8cd8d0e97bf26b672656592ce71a5c0f4e7a
Contents?: true
Size: 762 Bytes
Versions: 16
Compression:
Stored size: 762 Bytes
Contents
# frozen_string_literal: true 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
16 entries across 16 versions & 1 rubygems