Rename loop-claude to build-release, with no alias
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Print index.html to loop-claude-explained.pdf beside it, in the playwright-for-claude image."""
|
||||
"""Print index.html to build-release-explained.pdf beside it, in the playwright-for-claude image."""
|
||||
import pathlib, shutil, subprocess, sys, tempfile
|
||||
|
||||
HERE = pathlib.Path(__file__).resolve().parent
|
||||
@@ -19,8 +19,8 @@ def main() -> int:
|
||||
printed = subprocess.run(["docker", "run", "--rm", "--init", "--memory", "2g", "--memory-swap", "2g", "-v", f"{work}:/work", "-w", "/work", "--entrypoint", "node", IMAGE, "render-pdf.js"])
|
||||
if printed.returncode != 0:
|
||||
return printed.returncode
|
||||
shutil.copy(work / "out.pdf", HERE / "loop-claude-explained.pdf")
|
||||
print(f"Wrote {HERE / 'loop-claude-explained.pdf'}")
|
||||
shutil.copy(work / "out.pdf", HERE / "build-release-explained.pdf")
|
||||
print(f"Wrote {HERE / 'build-release-explained.pdf'}")
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user