Sha256: f5ef39cf4154f84c4a9def3a85420a50f90ceade587438016496d1b96c96b8ac
Contents?: true
Size: 692 Bytes
Versions: 20
Compression:
Stored size: 692 Bytes
Contents
if RUBY_ENGINE != "ruby" || Gem.win_platform? warn( "WARN: Skipping build of code coverage native extension because of unsupported platform." ) File.write("Makefile", "all install clean: # dummy makefile that does nothing") exit end require "mkmf" # Tag the native extension library with the Ruby version and Ruby platform. # This makes it easier for development (avoids "oops I forgot to rebuild when I switched my Ruby") and ensures that # the wrong library is never loaded. # When requiring, we need to use the exact same string, including the version and the platform. EXTENSION_NAME = "datadog_cov.#{RUBY_VERSION}_#{RUBY_PLATFORM}".freeze create_makefile(EXTENSION_NAME)
Version data entries
20 entries across 20 versions & 1 rubygems