Sha256: 863f0db3177984c7dfd1971fded5d386aa3e176f2c6bb5e602197e7b4242adb5

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

require 'bundler/gem_tasks'
require 'shellwords'

task :yaml_examples do
  Dir.glob(File.expand_path('./examples/yaml/*.yml', __dir__)).sort.each do |file|
    Bundler.with_clean_env do
      sh ['time', 'bundle', 'exec', 'exe/benchmark-driver', file].shelljoin
    end
    puts
  end
end

task default: :yaml_examples

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
benchmark_driver-0.6.1 Rakefile
benchmark_driver-0.6.0 Rakefile