mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
45 lines
897 B
Ruby
Executable File
45 lines
897 B
Ruby
Executable File
#!/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 = "tobi@leetsoft.com"
|
|
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
|
|
|
|
|