Example #1
0
 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
Example #2
0
 def precompile(self, commit):
     CompilationTask.precompile(self, commit)
     self.options.update(output_directory=self.output_directory_for(commit))
     self.execute_all(self.precompile_commands)
Example #3
0
 def __call__(self, targets, options, git_manager, *args, **kwargs):
     """:[ This is terrible. You're an awful programmer."""
     self.targets, self.options, self.git_manager = targets, options, git_manager
     CompilationTask.__call__(self, targets, options, git_manager, *args, **kwargs)
Example #4
0
 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)