view tasks.py @ 852:4850f8c21b6e

core: Start of the big refactor for PieCrust 3.0. * Everything is a `ContentSource`, including assets directories. * Most content sources are subclasses of the base file-system source. * A source is processed by a "pipeline", and there are 2 built-in pipelines, one for assets and one for pages. The asset pipeline is vaguely functional, but the page pipeline is completely broken right now. * Rewrite the baking process as just running appropriate pipelines on each content item. This should allow for better parallelization.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 17 May 2017 00:11:48 -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')