Skip to content

Commit 18bdf56

Browse files
committed
Use Notifier API when building mbed2
1 parent 74aec93 commit 18bdf56

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/build_release.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
from tools.test_api import singletest_in_cli_mode
3737
from tools.paths import TEST_DIR, MBED_LIBRARIES
3838
from tools.tests import TEST_MAP
39+
from tools.notifier.term import TerminalNotifier
3940

4041
OFFICIAL_MBED_LIBRARY_BUILD = get_mbed_official_release('2')
4142

@@ -168,11 +169,12 @@
168169
id = "%s::%s" % (target_name, toolchain)
169170

170171
profile = extract_profile(parser, options, toolchain)
172+
notify = TerminalNotifier(options.verbose)
171173

172174
try:
173175
built_mbed_lib = build_mbed_libs(TARGET_MAP[target_name],
174176
toolchain,
175-
verbose=options.verbose,
177+
notify=notify,
176178
jobs=options.jobs,
177179
report=build_report,
178180
properties=build_properties,

0 commit comments

Comments
 (0)