parent
4d0a7fbe75
commit
1fca521614
1 changed files with 5 additions and 5 deletions
10
build.py
10
build.py
|
@ -9,10 +9,10 @@ from rwx.ps import run
|
|||
|
||||
if __name__ == "__main__":
|
||||
root = Path(__file__).resolve().parent
|
||||
input = root / "in"
|
||||
output = root / "out"
|
||||
web = output / "web"
|
||||
fs.wipe(output)
|
||||
root_input = root / "in"
|
||||
root_output = root / "out"
|
||||
web = root_output / "web"
|
||||
fs.wipe(root_output)
|
||||
fs.make_directory(web)
|
||||
run(
|
||||
"rsync",
|
||||
|
@ -29,7 +29,7 @@ if __name__ == "__main__":
|
|||
("--foreground", "000000FF"),
|
||||
("--level", "L"),
|
||||
("--margin", "1"),
|
||||
("--read-from", str(input / "vcard.vcf")),
|
||||
("--read-from", str(root_input / "vcard.vcf")),
|
||||
("--size", "4"),
|
||||
("-t", "SVG"),
|
||||
("--output", str(web / "img" / "vcard.svg")),
|
||||
|
|
Loading…
Add table
Reference in a new issue