Mercurial > piecrust2
view tasks.py @ 853:f070a4fc033c
core: Continue PieCrust3 refactor, simplify pages.
The asset pipeline is still the only function pipeline at this point.
* No more `QualifiedPage`, and several other pieces of code deleted.
* Data providers are simpler and more focused. For instance, the page iterator
doesn't try to support other types of items.
* Route parameters are proper known source metadata to remove the confusion
between the two.
* Make the baker and pipeline more correctly manage records and record
histories.
* Add support for record collapsing and deleting stale outputs in the asset
pipeline.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 21 May 2017 00:06:59 -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')