Sha256: 322b035283273f6d2f16a4f77e2c10ed262d39dac35ee286a0e7fc1577a6d214

Contents?: true

Size: 603 Bytes

Versions: 2

Compression:

Stored size: 603 Bytes

Contents

module Octopress
  module Commands
    class Build < Command
      class << self
        def process(args, options)
          if Octopress.configuration[:source].nil? || !File.directory?(Octopress.configuration[:source])
            Octopress.logger.error "### You haven't set anything up yet. First run `octopress install <theme-name>` to set up an Octopress theme."
            raise SiteNotFoundError
          end
          BuildJavascripts.process(args, options)
          BuildStylesheets.process(args, options)
          BuildJekyll.process(args, options)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octopress-3.0.0.alpha2 lib/octopress/commands/build.rb
octopress-3.0.0.alpha1 lib/octopress/commands/build.rb