Sha256: 69d69a5f5bb081bb9fc6c6acf386209b28342a79ab0bf31759bd697faa770fbc
Contents?: true
Size: 972 Bytes
Versions: 3
Compression:
Stored size: 972 Bytes
Contents
require 'assert/rake_tasks' include Assert::RakeTasks require 'bundler' Bundler::GemHelper.install_tasks task :default => :build namespace :bench do desc "Run the bench script." task :run do require 'bench/bench_runner' XmlssBenchRunner.new(1000).run end desc "Run the profiler on 1000 rows." task :profiler do require 'bench/profiler_runner' runner = XmlssProfilerRunner.new(1000) runner.print_flat(STDOUT, :min_percent => 1) end desc "Run the example workbook builds." task :examples do require 'examples/simple' require 'examples/layout' require 'examples/text' require 'examples/styles' end desc "Run all the tests, then the profiler, then the bench." task :all do Rake::Task['test'].invoke puts Rake::Task['bench:profiler'].invoke puts Rake::Task['bench:run'].invoke puts Rake::Task['bench:examples'].invoke end end task :bench do Rake::Task['bench:run'].invoke end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xmlss-1.0.0.rc.4 | Rakefile |
xmlss-1.0.0.rc.3 | Rakefile |
xmlss-1.0.0.rc.2 | Rakefile |