Sha256: 5f81bf383a35da46064695885fc5314d98e3280655420810e56de4ef8378fe78

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

require 'bundler/gem_tasks'

desc 'Run benchmarks in benchmarks'
task :benchmarks do
  require 'bundler'
  require 'shellwords'

  Dir.glob(File.expand_path('./benchmarks/**/*.yml', __dir__)).sort.each do |path|
    Bundler.with_clean_env do
      sh [File.expand_path('./exe/benchmark-driver', __dir__), path].shelljoin
    end
  end
end

task default: :benchmarks

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
benchmark_driver-0.3.0 Rakefile