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

Version Path
datadog-ci-1.12.0 ext/datadog_cov/extconf.rb
datadog-ci-1.11.0 ext/datadog_cov/extconf.rb
datadog-ci-1.10.0 ext/datadog_cov/extconf.rb
datadog-ci-1.9.0 ext/datadog_cov/extconf.rb
datadog-ci-1.8.1 ext/datadog_cov/extconf.rb
datadog-ci-1.8.0 ext/datadog_cov/extconf.rb
datadog-ci-1.7.0 ext/datadog_cov/extconf.rb
datadog-ci-1.6.0 ext/datadog_cov/extconf.rb
datadog-ci-1.5.0 ext/datadog_cov/extconf.rb
datadog-ci-1.4.1 ext/datadog_cov/extconf.rb
datadog-ci-1.4.0 ext/datadog_cov/extconf.rb
datadog-ci-1.3.0 ext/datadog_cov/extconf.rb
datadog-ci-1.2.0 ext/datadog_cov/extconf.rb
datadog-ci-1.1.0 ext/datadog_cov/extconf.rb
datadog-ci-1.0.1 ext/datadog_cov/extconf.rb
datadog-ci-1.0.0 ext/datadog_cov/extconf.rb
datadog-ci-1.0.0.beta6 ext/datadog_cov/extconf.rb
datadog-ci-1.0.0.beta3 ext/datadog_cov/extconf.rb
datadog-ci-1.0.0.beta2 ext/datadog_cov/extconf.rb
datadog-ci-1.0.0.beta1 ext/datadog_cov/extconf.rb