Sha256: 7af79cee3d40f3e369eb1b7ad23bac4adcc71f0f053b484b1401e67144f6e3d0

Contents?: true

Size: 514 Bytes

Versions: 7

Compression:

Stored size: 514 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)
          ::Jekyll::Commands::Build.process(options)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
octopress-3.0.0.rc.15 lib/octopress/commands/build.rb
octopress-3.0.0.rc.14 lib/octopress/commands/build.rb
octopress-3.0.0.rc.13 lib/octopress/commands/build.rb
octopress-3.0.0.rc.12 lib/octopress/commands/build.rb
octopress-3.0.0.rc.11 lib/octopress/commands/build.rb
octopress-3.0.0.rc.10 lib/octopress/commands/build.rb
octopress-3.0.0.rc.9 lib/octopress/commands/build.rb