Mercurial > piecrust2
view tasks.py @ 758:6abb436fea5b
publish: Make publisher more powerful and better exposed on the command line.
* Make the `chef publish` command have one sub-command per publish target.
* Add custom argument parsing per publisher to have strong extra arguments
available per publish target.
* Make publish targets a first class citizen of the `PieCrust` app class.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 25 Jun 2016 17:03:29 -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')