Skip to content

Commit 190c51c

Browse files
authored
provide more info to user on cli build (#756)
1 parent 29212fb commit 190c51c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pretext/cli.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ def build(
469469
if generate and not no_generate:
470470
try:
471471
for t in targets:
472+
log.info(f"Generating assets for {t.name}")
472473
t.generate_assets(only_changed=False, xmlid=xmlid)
473474
no_generate = True
474475
except Exception as e:
@@ -484,9 +485,9 @@ def build(
484485
# Call build
485486
try:
486487
for t in targets:
487-
log.debug(f"Building target {t.name}")
488+
log.info(f"Building target {t.name}")
488489
if xmlid is not None:
489-
log.debug(f"with root of tree below {xmlid}")
490+
log.info(f"with root of tree below {xmlid}")
490491
t.build(
491492
clean=clean, generate=not no_generate, xmlid=xmlid, no_knowls=no_knowls
492493
)

0 commit comments

Comments
 (0)