|
16 | 16 | from rich.table import Table |
17 | 17 | from tenacity import retry, stop_after_attempt, wait_fixed |
18 | 18 |
|
| 19 | +from mpflash.mpremoteboard import ERROR, OK, MPRemoteBoard |
19 | 20 | from stubber import utils |
20 | 21 | from stubber.publish.merge_docstubs import merge_all_docstubs |
21 | 22 | from stubber.publish.pathnames import board_folder_name |
22 | 23 | from stubber.publish.publish import build_multiple |
23 | 24 | from stubber.utils.config import CONFIG |
24 | 25 |
|
25 | | -from mpflash.mpremoteboard import ERROR, OK, MPRemoteBoard |
26 | | - |
27 | | - |
28 | 26 | # TODO : make this a bit nicer |
29 | 27 | HERE = Path(__file__).parent |
30 | 28 | ############################################################################################### |
@@ -443,10 +441,15 @@ def print_result_table(all_built: List, console: Console): |
443 | 441 | table = Table(title="Results") |
444 | 442 |
|
445 | 443 | table.add_column("Result", style="cyan") |
446 | | - table.add_column("Name", style="cyan") |
| 444 | + table.add_column("Name/Path", style="cyan") |
447 | 445 | table.add_column("Version", style="green") |
448 | 446 | table.add_column("Error", style="red") |
449 | 447 |
|
450 | 448 | for result in all_built: |
451 | | - table.add_row(result["result"], result["name"], result["version"], result["error"]) |
| 449 | + table.add_row( |
| 450 | + result["result"], |
| 451 | + (result["name"] + "\n" + result["path"]).strip(), |
| 452 | + result["version"], |
| 453 | + result["error"], |
| 454 | + ) |
452 | 455 | console.print(table) |
0 commit comments