all repos — hastysite @ a67f04506f3f1b2437a675327cb9a2c4f8adc838

A high-performance static site generator.

Removed confirmations from rebuild command.
h3rald h3rald@h3rald.com
Sun, 13 Nov 2016 11:51:13 +0100
commit

a67f04506f3f1b2437a675327cb9a2c4f8adc838

parent

5ddb2f4a452dc5454a3e689bbef2095fb10d2a82

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M hastysite.nimhastysite.nim

@@ -354,10 +354,10 @@ quit("Aborted.")

of "rebuild": quitIfNotExists(cfg) var hs = newHastySite(cfg) - if hs.confirmDeleteDir(hs.dirs.temp) and hs.confirmDeleteDir(hs.dirs.output): - hs.clean() - hs.build() - else: - quit("Aborted.") + #if hs.confirmDeleteDir(hs.dirs.temp) and hs.confirmDeleteDir(hs.dirs.output): + hs.clean() + hs.build() + #else: + # quit("Aborted.") else: quit("Error: Command '$1' is not supported" % command)