roots
Some checks failed
/ job (push) Failing after 1m27s

This commit is contained in:
Marc Beninca 2025-02-23 00:19:27 +01:00
parent 4d0a7fbe75
commit 1fca521614
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -9,10 +9,10 @@ from rwx.ps import run
if __name__ == "__main__": if __name__ == "__main__":
root = Path(__file__).resolve().parent root = Path(__file__).resolve().parent
input = root / "in" root_input = root / "in"
output = root / "out" root_output = root / "out"
web = output / "web" web = root_output / "web"
fs.wipe(output) fs.wipe(root_output)
fs.make_directory(web) fs.make_directory(web)
run( run(
"rsync", "rsync",
@ -29,7 +29,7 @@ if __name__ == "__main__":
("--foreground", "000000FF"), ("--foreground", "000000FF"),
("--level", "L"), ("--level", "L"),
("--margin", "1"), ("--margin", "1"),
("--read-from", str(input / "vcard.vcf")), ("--read-from", str(root_input / "vcard.vcf")),
("--size", "4"), ("--size", "4"),
("-t", "SVG"), ("-t", "SVG"),
("--output", str(web / "img" / "vcard.svg")), ("--output", str(web / "img" / "vcard.svg")),