Mercurial > piecrust2
view tasks.py @ 1136:5f97b5b59dfe
bake: Optimize cache handling for the baking process.
- Get rid of the 2-level pipeline runs... handle a single set of passes.
- Go back to load/render segments/layout passes for pages.
- Add descriptions of what each job batch does.
- Improve the taxonomy pipeline so it doesn't re-bake terms that don't need
to be re-baked.
- Simplify some of the code.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 23 Apr 2018 21:47:49 -0700 |
parents | 79aefe82c6b6 |
children |
line wrap: on
line source
from invoke import Collection, task, run from garcon.benchsite import genbenchsite from garcon.changelog import genchangelog from garcon.documentation import gendocs from garcon.messages import genmessages from garcon.pypi import makerelease ns = Collection() ns.add_task(genbenchsite, name='benchsite') ns.add_task(genchangelog, name='changelog') ns.add_task(gendocs, name='docs') ns.add_task(genmessages, name='messages') ns.add_task(makerelease, name='release')