コード例 #1
0
ファイル: system.py プロジェクト: mahmed-mdsol/gcc.py
 def __init__(
     self,
     precompilation_commands=[],
     precompile_commands=[],
     postcompile_commands=[],
     postcompilation_commands=[],
     *args,
     **kwargs
 ):
     CompilationTask.__init__(self)
     SystemTask.__init__(self, *args, **kwargs)
     self.precompilation_commands = precompilation_commands
     self.precompile_commands = precompile_commands
     self.postcompile_commands = postcompile_commands
     self.postcompilation_commands = postcompilation_commands
コード例 #2
0
ファイル: historymd.py プロジェクト: mahmed-mdsol/gcc.py
 def __init__(self):
   self.pr_title = re.compile('Merge pull request (#\d+) from .+\n\n(.+)', re.DOTALL)
   self.tag = re.compile('([\d\.]+)')
   CompilationTask.__init__(self)