Sha256: 8646142c33ad214ab114d37622214a2e595d5f693b4a983785b8c8af43985055
Contents?: true
Size: 908 Bytes
Versions: 1
Compression:
Stored size: 908 Bytes
Contents
file 'ext/libuv/uv.xcodeproj' => 'ext/libuv/build/gyp' do target_arch = 'ia32'if FFI::Platform.ia32? target_arch = 'x64' if FFI::Platform.x64? abort "Don't know how to build on #{FFI::Platform::ARCH} (yet)" unless target_arch Dir.chdir("ext/libuv") do |path| system "./gyp_uv -f xcode -Dtarget_arch=#{target_arch}" end end file "ext/libuv/build/Release/libuv.#{FFI::Platform::LIBSUFFIX}" => 'ext/libuv/uv.xcodeproj' do Dir.chdir("ext/libuv") do |path| system 'xcodebuild -project uv.xcodeproj -configuration Release -target All' end end file "ext/libuv.#{FFI::Platform::LIBSUFFIX}" => "ext/libuv/build/Release/libuv.#{FFI::Platform::LIBSUFFIX}" do File.symlink("libuv/build/Release/libuv.#{FFI::Platform::LIBSUFFIX}", "ext/libuv.#{FFI::Platform::LIBSUFFIX}") end CLEAN.include('ext/libuv/uv.xcodeproj') CLOBBER.include("ext/libuv/build/Release/libuv.#{FFI::Platform::LIBSUFFIX}")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
uvrb-0.1.0 | lib/uv/tasks/mac.rb |