Beispiel #1
0
 def summary(self):
     return ExecutionSummary(
         'CppEclipse backend executed in {execution_time:.2f}s\n'
         'Generated Cpp Eclipse workspace in "{workspace:s}".\n'
         'If missing, import the project using File > Import > General > Existing Project into workspace\n'
         '\n'
         'Run with: eclipse -data {workspace:s}\n',
         execution_time=self._execution_time,
         workspace=self._workspace_dir)
Beispiel #2
0
 def summary(self):
     return ExecutionSummary(
         'AndroidEclipse backend executed in {execution_time:.2f}s\n'
         'Wrote {projects:d} Android Eclipse projects to {path:s}; '
         '{created:d} created; {updated:d} updated',
         execution_time=self._execution_time,
         projects=self._created_count + self._updated_count,
         path=mozpath.join(self.environment.topobjdir, 'android_eclipse'),
         created=self._created_count,
         updated=self._updated_count,
     )
Beispiel #3
0
 def summary(self):
     return ExecutionSummary(
         self.__class__.__name__.replace("Backend", "")
         + " backend executed in {execution_time:.2f}s\n  "
         "{total:d} total backend files; "
         "{created:d} created; "
         "{updated:d} updated; "
         "{unchanged:d} unchanged; "
         "{deleted:d} deleted",
         execution_time=self._execution_time,
         total=self._created_count + self._updated_count + self._unchanged_count,
         created=self._created_count,
         updated=self._updated_count,
         unchanged=self._unchanged_count,
         deleted=self._deleted_count,
     )
Beispiel #4
0
 def summary(self):
     return ExecutionSummary(
         self.__class__.__name__.replace('Backend', '') +
         ' backend executed in {execution_time:.2f}s\n  '
         '{total:d} total backend files; '
         '{created:d} created; '
         '{updated:d} updated; '
         '{unchanged:d} unchanged; '
         '{deleted:d} deleted',
         execution_time=self._execution_time,
         total=self._created_count + self._updated_count +
         self._unchanged_count,
         created=self._created_count,
         updated=self._updated_count,
         unchanged=self._unchanged_count,
         deleted=self._deleted_count)
Beispiel #5
0
 def summary(self):
     return ExecutionSummary(
         'VisualStudio backend executed in {execution_time:.2f}s\n'
         'Generated Visual Studio solution at {path:s}',
         execution_time=self._execution_time,
         path=os.path.join(self._out_dir, 'mozilla.sln'))