mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Rakefile
- Updated to run with Ruby 1.9.2-p0 - Fixed some indentations / white spacing
This commit is contained in:
17
Rakefile
17
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user