From 18bdf562afd6e8c52d851ad35f7cad035b7348c7 Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Tue, 5 Jun 2018 13:26:04 -0500 Subject: [PATCH] Use Notifier API when building mbed2 --- tools/build_release.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/build_release.py b/tools/build_release.py index bb24eea3a3..dc03f45c90 100644 --- a/tools/build_release.py +++ b/tools/build_release.py @@ -36,6 +36,7 @@ from tools.test_api import SingleTestRunner from tools.test_api import singletest_in_cli_mode from tools.paths import TEST_DIR, MBED_LIBRARIES from tools.tests import TEST_MAP +from tools.notifier.term import TerminalNotifier OFFICIAL_MBED_LIBRARY_BUILD = get_mbed_official_release('2') @@ -168,11 +169,12 @@ if __name__ == '__main__': id = "%s::%s" % (target_name, toolchain) profile = extract_profile(parser, options, toolchain) + notify = TerminalNotifier(options.verbose) try: built_mbed_lib = build_mbed_libs(TARGET_MAP[target_name], toolchain, - verbose=options.verbose, + notify=notify, jobs=options.jobs, report=build_report, properties=build_properties,