Update rebuild to respect OUTPUT_RETENTION

Fixes #1955
This commit is contained in:
bnice5000 2016-06-14 08:42:48 -04:00 committed by GitHub
commit c11b8ceb09

View file

@ -37,9 +37,8 @@ def build():
local('pelican -s pelicanconf.py') local('pelican -s pelicanconf.py')
def rebuild(): def rebuild():
"""`clean` then `build`""" """`build` with the delete switch"""
clean() local('pelican -d -s pelicanconf.py')
build()
def regenerate(): def regenerate():
"""Automatically regenerate site upon file modification""" """Automatically regenerate site upon file modification"""