Added new switch --silet to build.py to avoid endless screens of Copy / Compile. In silent mode only warnings / erros / build product will be displayed

Added new line after warning / errors
pull/750/head
Przemek Wirkus 2014-12-03 09:36:58 +00:00
parent b2ab78673a
commit e5d7f85597
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ def print_notify(event, silent=False):
elif event['type'] == 'cc':
event['severity'] = event['severity'].title()
event['file'] = basename(event['file'])
if silent:
if print_notify.counter == 'progress':
print
print '[%(severity)s] %(file)s@%(line)s: %(message)s' % event
elif event['type'] == 'progress':