Sha256: 12420f7c88dd84f2694764289cd16f84e01cc7b13bdc94e4ac7079fd7557646a

Contents?: true

Size: 917 Bytes

Versions: 18

Compression:

Stored size: 917 Bytes

Contents

#!/usr/bin/env ruby
$:.unshift File.join(File.dirname(__FILE__), 'test') unless $:.include? File.join(File.dirname(__FILE__), 'test')

require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/gempackagetask'

task :default => 'test'

Rake::TestTask.new(:test) do |t|
  t.libs << '.' << 'lib' << 'test'
  t.pattern = 'test/lib/**/*_test.rb'
  t.verbose = false
end

gemspec = eval(File.read('liquid.gemspec'))
Rake::GemPackageTask.new(gemspec) do |pkg|
  pkg.gem_spec = gemspec
end

desc "build the gem and release it to rubygems.org"
task :release => :gem do
  sh "gem push pkg/liquid-#{gemspec.version}.gem"
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

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
liquid_cms-0.2.2.0 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.1.1 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.1.0 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.13 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.12 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.11 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.10 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.9 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.8 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.7 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.6 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.5 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.4 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.3 lib/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0.2 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid_cms-0.2.0 generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile
liquid-2.2.1 Rakefile
liquid-2.2.0 Rakefile