mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Fix rake file, add rake benchmark:run
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user