Sha256: 1e524d875fb2aa4d837556712043451bd7e276bbd4adeabf3bcd394a20030cde

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

$:.unshift File.dirname(__FILE__)

require 'helpers/titlecase'

module Octopress
  class Rake
    def self.init!(ctx)
      ctx.instance_eval do
        tasks_path = File.join(Octopress.lib_root, "rake", "*.rake")
        Dir[tasks_path].each do |f|
          load f
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octopress-3.0.0.alpha2 lib/octopress/rake.rb
octopress-3.0.0.alpha1 lib/octopress/rake.rb