Sha256: 94579fcac77fe9fc1ecd9d8e32e1fe6e79eaca36c0142af77baf4c280b6fc511

Contents?: true

Size: 836 Bytes

Versions: 7

Compression:

Stored size: 836 Bytes

Contents

task :default => :test

# ==========================================================
# Packaging
# ==========================================================

GEMSPEC = Gem::Specification::load('stackprof.gemspec')

require 'rubygems/package_task'
Gem::PackageTask.new(GEMSPEC) do |pkg|
end

# ==========================================================
# Ruby Extension
# ==========================================================

require 'rake/extensiontask'
Rake::ExtensionTask.new('stackprof', GEMSPEC) do |ext|
  ext.lib_dir = 'lib/stackprof'
end
task :build => :compile

# ==========================================================
# Testing
# ==========================================================

require 'rake/testtask'
Rake::TestTask.new 'test' do |t|
  t.test_files = FileList['test/test_*.rb']
end
task :test => :build

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stackprof-0.2.16 Rakefile
stackprof-0.2.15 Rakefile
stackprof-0.2.14 Rakefile
stackprof-0.2.13 Rakefile
stackprof-0.2.12 Rakefile
stackprof-0.2.11 Rakefile
stackprof-0.2.10 Rakefile