Sha256: f13096a1d34df5b1a9414e23e3e4dc254b0a2901bcf5866392bb54e5b69fc337

Contents?: true

Size: 366 Bytes

Versions: 4

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

4 entries across 4 versions & 1 rubygems

Version Path
benchmark_driver-0.2.4 Rakefile
benchmark_driver-0.2.3 Rakefile
benchmark_driver-0.2.2 Rakefile
benchmark_driver-0.2.1 Rakefile