mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 00:59:22 -05:00
more logging for CI
This commit is contained in:
parent
587b83d4c5
commit
2b92e994e7
1 changed files with 7 additions and 1 deletions
|
@ -20,7 +20,13 @@ def build_and_copy_demo(category, md_name):
|
|||
if os.path.exists(example_dir):
|
||||
p = subprocess.Popen(["trunk", "build"], cwd=example_dir)
|
||||
p.wait()
|
||||
shutil.copytree(os.path.join(example_dir, "dist"), os.path.join("book", category, name, "demo"),
|
||||
|
||||
example_output_path = os.path.join(example_dir, "dist")
|
||||
target_path = os.path.join("book", category, name, "demo")
|
||||
|
||||
print(f"Copying demo from {example_output_path} to {target_path}")
|
||||
|
||||
shutil.copytree(example_output_path, target_path,
|
||||
dirs_exist_ok=True)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue