Mercurial > piecrust2
view tasks.py @ 779:982de61e7da9
tests: Fix some CLI tests.
Add auto-stripping of newlines in the CLI output for tests that use the simple
YAML string value for the expected output.
Also, fix `showconfig` test to expect a root URL with a trailing slash.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 16 Jul 2016 15:04:36 +0200 |
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')