From 08bf7b18392826f54a5db4c551a9f3e6458d3de7 Mon Sep 17 00:00:00 2001 From: Chris Van Pelt Date: Sun, 23 Nov 2008 14:51:52 -0800 Subject: [PATCH] Added a getto task to perform export from mephisto... this needs to be moved into the jekyl binary --- Rakefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Rakefile b/Rakefile index 4b2d4790..be041f3f 100644 --- a/Rakefile +++ b/Rakefile @@ -13,3 +13,10 @@ 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 +end