Rakefile in benchmark_driver-0.1.0 vs Rakefile in benchmark_driver-0.2.0

- old
+ new

@@ -1,6 +1,15 @@ -require "bundler/gem_tasks" -require "rspec/core/rake_task" +require 'bundler/gem_tasks' -RSpec::Core::RakeTask.new(:spec) +desc 'Run benchmarks in ruby_benchmark_set' +task :ruby_benchmark_set do + require 'bundler' + require 'shellwords' -task :default => :spec + Dir.glob(File.expand_path('./ruby_benchmark_set/**/*.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: :ruby_benchmark_set