Sha256: 319521b10b6973879a3f35314006052c0e20afd6422ba307fe0310827fb42d06

Contents?: true

Size: 529 Bytes

Versions: 8

Compression:

Stored size: 529 Bytes

Contents

module Octopress
  class Build < Command
    def self.init_with_program(p)
      p.command(:build) do |c|
        c.syntax 'build [options]'
        c.description 'Build your site'
        CommandHelpers.add_build_options(c)
        
        c.action do |args, options|
          Octopress.config(options)
          options = CommandHelpers.normalize_options(options)
          options = ::Jekyll.configuration(options.to_symbol_keys)
          ::Jekyll::Commands::Build.process(options)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
octopress-3.0.0.rc.8 lib/octopress/commands/build.rb
octopress-3.0.0.rc.7 lib/octopress/commands/build.rb
octopress-3.0.0.rc.6 lib/octopress/commands/build.rb
octopress-3.0.0.rc.5 lib/octopress/commands/build.rb
octopress-3.0.0.rc.4 lib/octopress/commands/build.rb
octopress-3.0.0.rc.3 lib/octopress/commands/build.rb
octopress-3.0.0.rc.2 lib/octopress/commands/build.rb
octopress-3.0.0.rc.1 lib/octopress/commands/build.rb