Sha256: e0be514435cfca0e363a3d3383e5cbae4cbb6a495b3f85b08a3264aa9cbc6e6a
Contents?: true
Size: 772 Bytes
Versions: 6
Compression:
Stored size: 772 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', 'vs2017', '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
6 entries across 6 versions & 1 rubygems