(self, args, silent=False)
| 446 | return self.do_build(args, debug=True) |
| 447 | |
| 448 | def _get_project(self, args, silent=False): |
| 449 | c = self._get_config() |
| 450 | n = args.get('id') |
| 451 | for p in c['projects']: |
| 452 | if n == p['id']: |
| 453 | return c, p |
| 454 | if silent: |
| 455 | return c, None |
| 456 | raise RuntimeError('No project %s found' % n) |
| 457 | |
| 458 | def _get_project_path(self, project): |
| 459 | return os.path.join(self._get_path(), 'project-%s' % project['id']) |
no test coverage detected