Rakefile in 3scale_client-2.3.4 vs Rakefile in 3scale_client-2.4.0.pre.1

- old
+ new

@@ -7,15 +7,19 @@ require 'rake' require 'rake/testtask' require 'rdoc/task' desc 'Default: run unit tests.' -task :default => :test +task :default => %w[test benchmark] desc 'Run unit tests.' Rake::TestTask.new(:test) do |t| t.pattern = 'test/**/*_test.rb' t.verbose = true +end + +task :benchmark do + system 'ruby', '-Ilib', 'test/benchmark.rb' end desc 'Generate documentation.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc'