Skip to content

Commit 38645de

Browse files
authored
Include full build duration (#210)
Inadvertently removed.
1 parent fb5c33d commit 38645de

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

check_times.py

+7
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ def calc_time(lines: list[str]) -> None:
6060
if in_progress and ": Build done " in line:
6161
in_progress = False
6262

63+
if ": Full build done" in line:
64+
timestamp = f"{line[:16]} UTC"
65+
_, fmt_duration = line.removesuffix(").").split("(")
66+
print(
67+
f"{timestamp: <20} | --FULL- | -BUILD-- | {fmt_duration :<14} | -----------"
68+
)
69+
6370
if in_progress:
6471
start_timestamp = f"{in_progress_line[:16]} UTC"
6572
language, version = in_progress_line.split(" ")[3].removesuffix(":").split("/")

0 commit comments

Comments
 (0)