Merge pull request #1978 from bnice5000/patch-1

Respect OUTPUT_RETENTION for Fabric "rebuild" task
This commit is contained in:
Justin Mayer 2016-10-22 15:45:29 -06:00 committed by GitHub
commit de0b6dc6aa

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"""