diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-07-24 18:19:45 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-07-24 19:06:04 +0300 |
commit | 1fe05653813a92a7c6bdb59b8ebec15967a96576 (patch) | |
tree | b75a6f21650e08aaa47b3443e43e49cd1324be72 /ick | |
parent | a05ef28b64589a79e696dd8492a8534b2641deaf (diff) | |
download | ick-1fe05653813a92a7c6bdb59b8ebec15967a96576.tar.gz |
Add support for multiple output files, quiet levels
Diffstat (limited to 'ick')
-rwxr-xr-x | ick | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -46,7 +46,7 @@ class Ick(cliapp.Application): filename = self.parse_command_line_args(args) ick = self.read_ick_file(filename) self.logger = icklib.Logger() - self.logger.set_output_file(self.output) + self.logger.add_output_file(self.output, self.settings['quiet']) self.build_projects(ick) def parse_command_line_args(self, args): @@ -64,12 +64,11 @@ class Ick(cliapp.Application): projects = icklib.create_projects_from_ick( ick, self.settings['project']) for project in projects: - self.logger.log( + self.logger.important( 'Building project {project_name}', project_name=project.name) with self.logger: project.set_logger(self.logger) - project.set_quiet(self.settings['quiet']) project.build(statedir, targets) |