Sha256: 41489146bffcb505f3f828ef88e5e60bd72d61ac435500848df464a4595dbd23

Contents?: true

Size: 473 Bytes

Versions: 6

Compression:

Stored size: 473 Bytes

Contents

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

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

if RUBY_ENGINE == "truffleruby"
  task :compile do
    # noop
  end

  task :clean do
    # noop
  end
else
  require "rake/extensiontask"

  Rake::ExtensionTask.new("stackprof") do |ext|
    ext.ext_dir = "ext/stackprof"
    ext.lib_dir = "lib/stackprof"
  end
end

task default: %i(compile test)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stackprof-0.2.26 Rakefile
stackprof-0.2.25 Rakefile
stackprof-0.2.24 Rakefile
stackprof-0.2.23 Rakefile
stackprof-0.2.22 Rakefile
stackprof-0.2.21 Rakefile