- Updated to run with Ruby 1.9.2-p0
  - Fixed some indentations / white spacing
This commit is contained in:
DBA
2010-08-23 01:29:59 +08:00
committed by Tobias Lütke
parent 6831eac902
commit 5425679a96
+7 -10
View File
@@ -7,8 +7,7 @@ require 'rake/gempackagetask'
task :default => 'test' task :default => 'test'
Rake::TestTask.new(:test) do |t| Rake::TestTask.new(:test) do |t|
t.libs << "lib" t.libs << '.' << 'lib' << 'test'
t.libs << "test"
t.pattern = 'test/*_test.rb' t.pattern = 'test/*_test.rb'
t.verbose = false t.verbose = false
end end
@@ -25,20 +24,18 @@ end
namespace :profile do namespace :profile do
task :default => [:run] task :default => [:run]
desc "Run the liquid profile/perforamce coverage" desc "Run the liquid profile/perforamce coverage"
task :run do task :run do
ruby "performance/shopify.rb" ruby "performance/shopify.rb"
end end
desc "Run KCacheGrind" desc "Run KCacheGrind"
task :grind => :run do task :grind => :run do
system "kcachegrind /tmp/liquid.rubyprof_calltreeprinter.txt" system "kcachegrind /tmp/liquid.rubyprof_calltreeprinter.txt"
end end
end end