当前位置: 首页>>代码示例>>Python>>正文


Python Compile.__init__方法代码示例

本文整理汇总了Python中buildbot.steps.shell.Compile.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python Compile.__init__方法的具体用法?Python Compile.__init__怎么用?Python Compile.__init__使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在buildbot.steps.shell.Compile的用法示例。


在下文中一共展示了Compile.__init__方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from buildbot.steps.shell import Compile [as 别名]
# 或者: from buildbot.steps.shell.Compile import __init__ [as 别名]
 def __init__(self, partialwarningStart=None, partialwarningEnd=None, partialwarningProperty=None, **kwargs):
     Compile.__init__(self, **kwargs)
     self.partialwarningStart = partialwarningStart
     self.partialwarningEnd = partialwarningEnd
     self.partialwarningProperty = partialwarningProperty
     self.addFactoryArguments(partialwarningStart=self.partialwarningStart)
     self.addFactoryArguments(partialwarningEnd=self.partialwarningEnd)
     self.addFactoryArguments(partialwarningProperty=self.partialwarningProperty)
开发者ID:wanders,项目名称:buildbot-extras,代码行数:10,代码来源:partialwarnings.py

示例2: __init__

# 需要导入模块: from buildbot.steps.shell import Compile [as 别名]
# 或者: from buildbot.steps.shell.Compile import __init__ [as 别名]
    def __init__(
            self,
            build_targets = Interpolate("%(prop:build_targets)s"),
            build_mode = Interpolate("%(prop:build_mode)s"),
            build_cat = Interpolate("%(prop:build_cat)s"),
            build_extras = Interpolate("%(prop:build_extras)s"),
            jobs = None,
            **kwargs):

        Compile.__init__(
            self,
            command=SconsCommandRenderer(
               build_targets,
               build_mode,
               build_cat,
               build_extras,
               jobs),
            **kwargs)
开发者ID:asford,项目名称:rosetta_buildbot,代码行数:20,代码来源:build_support.py

示例3: __init__

# 需要导入模块: from buildbot.steps.shell import Compile [as 别名]
# 或者: from buildbot.steps.shell.Compile import __init__ [as 别名]
 def __init__(self, locale, **kwargs):
     Compile.__init__(self, **kwargs)
     self.addFactoryArguments(locale=locale)
     self.locale = locale
开发者ID:B-Rich,项目名称:build-buildbotcustom,代码行数:6,代码来源:l10n.py

示例4: __init__

# 需要导入模块: from buildbot.steps.shell import Compile [as 别名]
# 或者: from buildbot.steps.shell.Compile import __init__ [as 别名]
 def __init__(self, config, target = None, **kwargs):
     self.config = config
     self.target = target
     Compile.__init__(self, **kwargs)
开发者ID:boostpro,项目名称:fossbot,代码行数:6,代码来源:boost.py

示例5: __init__

# 需要导入模块: from buildbot.steps.shell import Compile [as 别名]
# 或者: from buildbot.steps.shell.Compile import __init__ [as 别名]
 def __init__(self, **kwargs):
     name = kwargs.pop('name')
     kwargs['command'] = ['make', 'ppa-' + name]
     Compile.__init__(self, **kwargs)
     self.addFactoryArguments(name=name)
开发者ID:MahadJamal,项目名称:Task-Coach-Evolution,代码行数:7,代码来源:tcbuild.py

示例6: __init__

# 需要导入模块: from buildbot.steps.shell import Compile [as 别名]
# 或者: from buildbot.steps.shell.Compile import __init__ [as 别名]
 def __init__(self, **kwargs):
     name = kwargs.pop('name')
     kwargs['command'] = ['./uploadppa.sh', name]
     Compile.__init__(self, **kwargs)
     self.addFactoryArguments(name=name)
开发者ID:pk-codebox-evo,项目名称:ios-apps-taskcoach,代码行数:7,代码来源:tcbuild.py

示例7: __init__

# 需要导入模块: from buildbot.steps.shell import Compile [as 别名]
# 或者: from buildbot.steps.shell.Compile import __init__ [as 别名]
 def __init__(self, **kwargs):
     kwargs['command'] = ['make', self.name,
                          WithProperties('TCVERSION=r%s', 'got_revision')]
     Compile.__init__(self, **kwargs)
开发者ID:HieronymusCH,项目名称:TaskCoach,代码行数:6,代码来源:tcbuild.py


注:本文中的buildbot.steps.shell.Compile.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。