view service/announce/tasks.py @ 732:fdddbdaf07b5

more service renaming; start a lot more serv.n3 job files Ignore-this: 635aaefc7bd2fa5558eefb8b3fc9ec75
author drewp@bigasterisk.com
date Thu, 06 Feb 2020 16:36:35 -0800
parents f70514b127d2
children
line wrap: on
line source

from invoke import task, Collection

import sys
sys.path.append('/my/proj/release')
from serv_tasks import serv_tasks

ns = Collection()

coll = Collection('announce')
ns.add_collection(coll)
serv_tasks(coll, 'serv.n3', 'announce')

coll = Collection('tts')
ns.add_collection(coll)
serv_tasks(ns, 'serv.n3', 'tts_server')