mirror of https://github.com/ARMmbed/mbed-os.git
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 / errorspull/750/head
parent
b2ab78673a
commit
e5d7f85597
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Reference in New Issue