Rakefile in benchmark_driver-0.5.1 vs Rakefile in benchmark_driver-0.6.0
- old
+ new
@@ -1,22 +1,13 @@
require 'bundler/gem_tasks'
require 'shellwords'
-task :ruby_examples do
- Dir.glob(File.expand_path('./examples/*.rb', __dir__)).sort.each do |file|
- Bundler.with_clean_env do
- sh ['time', 'bundle', 'exec', 'ruby', file].shelljoin
- end
- puts
- end
-end
-
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: [:ruby_examples, :yaml_examples]
+task default: :yaml_examples