def on_complete(self, cancelled: bool=False) -> None:
    if cancelled:
        _LOG.error('Finished; build was interrupted')
    elif all(self.builds_succeeded):
        _LOG.info('Finished; all successful')
    else:
        _LOG.info('Finished; some builds failed')
    if (not cancelled):
        print()
        print(' .------------------------------------')
        print(' |')
        for (succeeded, cmd) in zip(self.builds_succeeded, self.build_commands):
            slug = (self.charset.slug_ok if succeeded else self.charset.slug_fail)
            print(f' |   {slug}  {cmd}')
        print(' |')
        print(" '------------------------------------")
    else:
        print()
        print(' .------------------------------------')
        print(' |')
        print(' |  ', self.charset.slug_fail, '- interrupted')
        print(' |')
        print(" '------------------------------------")
    if (all(self.builds_succeeded) and (not cancelled)):
        print(_COLOR.green(_PASS_MESSAGE))
    else:
        print(_COLOR.red(_FAIL_MESSAGE))
    self.matching_path = None
def on_complete(self, cancelled: bool=False) -> None:
    if cancelled:
        _LOG.error('Finished; build was interrupted')
    elif all(self.builds_succeeded):
        _LOG.info('Finished; all successful')
    else:
        _LOG.info('Finished; some builds failed')
    if (not cancelled):
        print()
        print(' .------------------------------------')
        print(' |')
        for (succeeded, cmd) in zip(self.builds_succeeded, self.build_commands):
            slug = (self.charset.slug_ok if succeeded else self.charset.slug_fail)
            print(f' |   {slug}  {cmd}')
        print(' |')
        print(" '------------------------------------")
    else:
        print()
        print(' .------------------------------------')
        print(' |')
        print(' |  ', self.charset.slug_fail, '- interrupted')
        print(' |')
        print(" '------------------------------------")
    if (all(self.builds_succeeded) and (not cancelled)):
        print(_COLOR.green(_PASS_MESSAGE))
    else:
        print(_COLOR.red(_FAIL_MESSAGE))
    self.matching_path = None