Skip to content

Commit

Permalink
Rakefile
Browse files Browse the repository at this point in the history
  - Updated to run with Ruby 1.9.2-p0
  - Fixed some indentations / white spacing
  • Loading branch information
DBA authored and Tobias Lütke committed Aug 22, 2010
1 parent 6831eac commit 5425679
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Rakefile
Expand Up @@ -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
Expand All @@ -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


0 comments on commit 5425679

Please sign in to comment.