lib/jekyll/commands/build.rb in jekyll-1.5.1 vs lib/jekyll/commands/build.rb in jekyll-2.0.0.alpha.1
- old
+ new
@@ -2,9 +2,11 @@
module Commands
class Build < Command
def self.process(options)
site = Jekyll::Site.new(options)
+ Jekyll.logger.log_level = Jekyll::Stevenson::ERROR if options['quiet']
+
self.build(site, options)
self.watch(site, options) if options['watch']
end
# Private: Build the site from source into destination.