Mercurial > piecrust2
view tasks.py @ 693:d2a87365b85b
bake: Use threads to read/write from/to the main arbitrator process.
Since the GIL is released most of the time during blocking I/O operations,
this should let the worker threads do more during that time.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 23 Mar 2016 01:53:57 -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')