lib/octopress/commands/helpers.rb in octopress-3.0.0.rc.18 vs lib/octopress/commands/helpers.rb in octopress-3.0.0.rc.19
- old
+ new
@@ -6,17 +6,8 @@
c.option 'force', '--force', 'Overwrite file if it already exists'
end
def self.add_common_options(c)
c.option 'config', '--config <CONFIG_FILE>[,CONFIG_FILE2,...]', Array, 'Custom Jekyll configuration file'
- c.option 'octopress-config', '--octopress-config <CONFIG_FILE>', 'Custom Octopress configuration file'
- end
-
- def self.site(options)
- options = {'config' => options['config']}
- Jekyll.logger.log_level = :error
- site = Jekyll::Site.new(Jekyll.configuration(options))
- Jekyll.logger.log_level = :info
- site
end
end
end