Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit ac5c304

Browse files
committed
add a few more status updates
1 parent fe691e3 commit ac5c304

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runestone/server/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def _build_ptx_book(config, gen, manifest, course, click=click):
9696
click.echo("PreTeXt books need a project.ptx file")
9797
sys.exit(1)
9898
else:
99+
click.echo("Checking files")
99100
main_file = check_project_ptx()
100101
# parse the main file, but this does not resolve any xi:includes
101102
tree = ET.parse(main_file)
@@ -107,6 +108,7 @@ def _build_ptx_book(config, gen, manifest, course, click=click):
107108
if res != 0:
108109
click.echo("Failed to build")
109110
# build the book
111+
click.echo("Building for Runestone")
110112
res = subprocess.call("pretext build runestone", shell=True)
111113
if res != 0:
112114
click.echo("Building failed")
@@ -125,6 +127,7 @@ def _build_ptx_book(config, gen, manifest, course, click=click):
125127
sys.exit(1)
126128

127129
mpath = Path(os.getcwd(), "published", cname, manifest)
130+
click.echo("Processing Manifest")
128131
process_manifest(cname, mpath)
129132
# Fetch and copy the runestone components release as advertised by the manifest
130133
# - Use wget to get all the js files and put them in _static

0 commit comments

Comments
 (0)