Added a getto task to perform export from mephisto... this needs to be moved into the jekyl binary

This commit is contained in:
Chris Van Pelt 2008-11-23 14:51:52 -08:00
parent f36263d8ad
commit 08bf7b1839
1 changed files with 7 additions and 0 deletions

View File

@ -13,3 +13,10 @@ desc "Open an irb session preloaded with this library"
task :console do task :console do
sh "irb -rubygems -r ./lib/jekyll.rb" sh "irb -rubygems -r ./lib/jekyll.rb"
end 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