step/upper

This commit is contained in:
Marc Beninca 2024-09-15 00:09:47 +02:00
parent 201ba91e00
commit 10941ad0d8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 4 additions and 4 deletions

View file

@ -5,6 +5,6 @@ import importlib
env = importlib.import_module("env") env = importlib.import_module("env")
try: try:
step = int(env.SPCD_STEP) STEP = int(env.SPCD_STEP)
except AttributeError: except AttributeError:
step = 1 STEP = 1

View file

@ -57,7 +57,7 @@ def split() -> None:
def step(text: str) -> None: def step(text: str) -> None:
"""Increment the step number of the current build process.""" """Increment the step number of the current build process."""
shell.step += 1 shell.STEP += 1
log.info(env.SPCD_DOWN) log.info(env.SPCD_DOWN)
log.info(f"{env.SPCD_VERT} {shell.step} {text}") log.info(f"{env.SPCD_VERT} {shell.STEP} {text}")
log.info(env.SPCD___UP) log.info(env.SPCD___UP)