Sha256: 359c7473035ddd02f58a6c2d4675e766a2738d0234e63246b51727130cee3d22

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

require 'rubygems'
require 'hoe'
require 'lib/jekyll'

Hoe.new('jekyll', Jekyll::VERSION) do |p|
  p.developer('Tom Preston-Werner', 'tom@mojombo.com')
  p.summary = "Jekyll is a simple, blog aware, static site generator."
  p.extra_deps = ['RedCloth', 'liquid', 'classifier', 'maruku', 'directory_watcher', 'open4']
end

desc "Open an irb session preloaded with this library"
task :console do
  sh "irb -rubygems -r ./lib/jekyll.rb"
end

namespace :convert do
  desc "Migrate from mephisto in the current directory"
  task :mephisto do
    sh %q(ruby -r './lib/jekyll/converters/mephisto' -e 'Jekyll::Mephisto.postgres(:database => "#{ENV["DB"]}")')
  end
  desc "Migrate from Movable Type in the current directory"
  task :mt do
    sh %q(ruby -r './lib/jekyll/converters/mt' -e 'Jekyll::MT.process("#{ENV["DB"]}", "#{ENV["USER"]}", "#{ENV["PASS"]}")')
  end
  desc "Migrate from Typo in the current directory"
  task :typo do
    sh %q(ruby -r './lib/jekyll/converters/typo' -e 'Jekyll::Typo.process("#{ENV["DB"]}", "#{ENV["USER"]}", "#{ENV["PASS"]}")')
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
codeslinger-jekyll-0.3.0 Rakefile
qrush-jekyll-0.3.0.1 Rakefile