Sha256: 3703d306dbe795712a543622f85c3b7b62b3e01fb04f7602bb18877069cbd80c

Contents?: true

Size: 678 Bytes

Versions: 2

Compression:

Stored size: 678 Bytes

Contents

# encoding: utf-8

require 'rubygems' unless defined?(Gem)
require 'rake' unless defined?(Rake)

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

Rake::ExtensionTask.new('tunemygc') do |ext|
  ext.name = 'tunemygc_ext'
  ext.ext_dir = 'ext/tunemygc'
  ext.lib_dir = "lib/tunemygc"
  CLEAN.include 'lib/**/tunemygc_ext.*'
end

desc 'Run tunemygc tests'
Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.pattern = "test/**/test_*.rb"
  t.verbose = true
  t.warning = true
end

namespace :debug do
  desc "Run the test suite under gdb"
  task :gdb do
    system "gdb --args ruby rake"
  end
end

task :test => :compile
task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tunemygc-1.0.71 Rakefile
tunemygc-1.0.69 Rakefile