Mercurial > hg > autobot
view autobot/projects/project.template @ 246:76ef1a33e345
update project template
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 22 Dec 2011 16:15:09 -0800 |
parents | 714a7a7f4ea7 |
children |
line wrap: on
line source
from autobot.process.factory import SourceFactory from buildbot.steps.shell import ShellCommand from buildbot.steps.shell import WithProperties class Test{{project.title()}}(SourceFactory): """ {{description}}: {{repo}} """ sources = {'hg': ['{{repo}}'], 'git': []} def __init__(self, platform=None, git=None, hg=None): SourceFactory.__init__(self, platform=platform, git=git, hg=hg) # checkout the repositories self.checkout() # run the tests [TODO]