Shows time after initial generation
This commit is contained in:
parent
69e8f1923c
commit
ff646738fc
|
@ -48,6 +48,7 @@ module Jekyll
|
||||||
#
|
#
|
||||||
# Returns nothing.
|
# Returns nothing.
|
||||||
def build(site, options)
|
def build(site, options)
|
||||||
|
t = Time.now
|
||||||
source = options['source']
|
source = options['source']
|
||||||
destination = options['destination']
|
destination = options['destination']
|
||||||
full_build = options['full_rebuild']
|
full_build = options['full_rebuild']
|
||||||
|
@ -56,7 +57,7 @@ module Jekyll
|
||||||
Jekyll.logger.info "Incremental build:", (full_build ? "disabled" : "enabled")
|
Jekyll.logger.info "Incremental build:", (full_build ? "disabled" : "enabled")
|
||||||
Jekyll.logger.info "Generating..."
|
Jekyll.logger.info "Generating..."
|
||||||
process_site(site)
|
process_site(site)
|
||||||
Jekyll.logger.info "", "done."
|
Jekyll.logger.info "", "done in #{Time.now - t} seconds."
|
||||||
end
|
end
|
||||||
|
|
||||||
# Private: Watch for file changes and rebuild the site.
|
# Private: Watch for file changes and rebuild the site.
|
||||||
|
|
Loading…
Reference in New Issue