forked from newrelic/liquid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
executable file
·45 lines (32 loc) · 897 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env ruby
require 'rubygems'
require 'rake'
require 'hoe'
PKG_VERSION = "2.0.0"
PKG_NAME = "liquid"
PKG_DESC = "A secure non evaling end user template engine with aesthetic markup."
Rake::TestTask.new(:test) do |t|
t.libs << "lib"
t.libs << "test"
t.pattern = 'test/*_test.rb'
t.verbose = false
end
Hoe.new(PKG_NAME, PKG_VERSION) do |p|
p.rubyforge_name = PKG_NAME
p.summary = PKG_DESC
p.description = PKG_DESC
p.author = "Tobias Luetke"
p.email = "[email protected]"
p.url = "http://www.liquidmarkup.org"
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"
task :grind => :run do
system "kcachegrind /tmp/liquid.rubyprof_calltreeprinter.txt"
end
end