mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #1978 from bnice5000/patch-1
Respect OUTPUT_RETENTION for Fabric "rebuild" task
This commit is contained in:
commit
de0b6dc6aa
1 changed files with 2 additions and 3 deletions
|
|
@ -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"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue