Fix rake file, add rake benchmark:run

This commit is contained in:
Tobias Lütke
2011-01-28 21:18:07 -05:00
parent 9c49b8bbb2
commit 9926d86c91
+11 -4
View File
@@ -24,14 +24,21 @@ task :release => :gem do
sh "gem push pkg/liquid-#{gemspec.version}.gem" sh "gem push pkg/liquid-#{gemspec.version}.gem"
end end
namespace :benchmark do
desc "Run the liquid benchmark"
task :run do
ruby "performance/benchmark.rb"
end
end
namespace :profile do namespace :profile do
task :default => [:run] desc "Run the liquid profile/performance coverage"
desc "Run the liquid profile/perforamce coverage"
task :run do task :run do
ruby "performance/shopify.rb" ruby "performance/profile.rb"
end end