From 5425679a969478201bb278dc0cdebdf85e028dcc Mon Sep 17 00:00:00 2001 From: DBA Date: Sun, 22 Aug 2010 19:35:46 +0800 Subject: [PATCH] Rakefile - Updated to run with Ruby 1.9.2-p0 - Fixed some indentations / white spacing --- Rakefile | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/Rakefile b/Rakefile index 8087706..63a54ba 100755 --- a/Rakefile +++ b/Rakefile @@ -7,8 +7,7 @@ require 'rake/gempackagetask' task :default => 'test' Rake::TestTask.new(:test) do |t| - t.libs << "lib" - t.libs << "test" + t.libs << '.' << 'lib' << 'test' t.pattern = 'test/*_test.rb' t.verbose = false end @@ -25,20 +24,18 @@ end namespace :profile do - task :default => [:run] - + desc "Run the liquid profile/perforamce coverage" task :run do - + ruby "performance/shopify.rb" - + end - - desc "Run KCacheGrind" + + desc "Run KCacheGrind" task :grind => :run do system "kcachegrind /tmp/liquid.rubyprof_calltreeprinter.txt" end + end - - \ No newline at end of file