summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-04-18 19:56:12 +0900
committerRandy Morgan <[email protected]>2012-04-18 19:56:12 +0900
commit34353824cbcaae07cd5a0ce23fe815fd39111d72 (patch)
tree7fe0bf66a7e32851f36d6dcba12543008f5a3d1c
parentc618d733c2371e0f39c001245e204453e26c5799 (diff)
downloadcaxlsx-34353824cbcaae07cd5a0ce23fe815fd39111d72.tar.gz
caxlsx-34353824cbcaae07cd5a0ce23fe815fd39111d72.zip
add benchmark task to rakefile
-rw-r--r--Rakefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 12ec6a52..b11e50ee 100644
--- a/Rakefile
+++ b/Rakefile
@@ -4,11 +4,15 @@ task :build => :gendoc do
system "gem build axlsx.gemspec"
end
-task :gendoc do
+task :benchmark do
+ require File.expand_path(File.dirname(__FILE__) + '/test/benchmark.rb')
+end
+
+task :gendoc do
system "yardoc"
end
-task :test do
+task :test do
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << 'test'