Merge pull request #3378 from kaatt/initial-build-time

This commit is contained in:
Matt Rogers 2015-01-29 16:10:05 -06:00
commit fe08405ae1
1 changed files with 2 additions and 1 deletions

View File

@ -48,6 +48,7 @@ module Jekyll
#
# Returns nothing.
def build(site, options)
t = Time.now
source = options['source']
destination = options['destination']
full_build = options['full_rebuild']
@ -56,7 +57,7 @@ module Jekyll
Jekyll.logger.info "Incremental build:", (full_build ? "disabled" : "enabled")
Jekyll.logger.info "Generating..."
process_site(site)
Jekyll.logger.info "", "done."
Jekyll.logger.info "", "done in #{Time.now - t} seconds."
end
# Private: Watch for file changes and rebuild the site.