Sha256: b3c7881ae7bc34d52c41d4b9b597d20a924c3b4bf40e71c34ca6d088a1cc2193

Contents?: true

Size: 687 Bytes

Versions: 9

Compression:

Stored size: 687 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rake/testtask"
require "rake/extensiontask"

Rake::TestTask.new(test: "test:compile") do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList["test/**/*_test.rb"]
end

namespace :test do
  Rake::ExtensionTask.new("ruby_memcheck_c_test_one") do |ext|
    ext.ext_dir = "test/ruby_memcheck/ext"
    ext.lib_dir = "test/ruby_memcheck/ext"
    ext.config_script = "extconf_one.rb"
  end

  Rake::ExtensionTask.new("ruby_memcheck_c_test_two") do |ext|
    ext.ext_dir = "test/ruby_memcheck/ext"
    ext.lib_dir = "test/ruby_memcheck/ext"
    ext.config_script = "extconf_two.rb"
  end
end

task default: :test

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruby_memcheck-3.0.0 Rakefile
ruby_memcheck-2.3.0 Rakefile
ruby_memcheck-2.2.1 Rakefile
ruby_memcheck-2.2.0 Rakefile
ruby_memcheck-2.1.2 Rakefile
ruby_memcheck-2.1.1 Rakefile
ruby_memcheck-2.1.0 Rakefile
ruby_memcheck-2.0.1 Rakefile
ruby_memcheck-2.0.0 Rakefile