This commit is contained in:
Marc Beninca 2025-02-22 22:17:52 +01:00
parent dc43aee71a
commit 89d1a5295a
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
3 changed files with 16 additions and 4 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/out

View file

@ -1,6 +1,7 @@
#! /usr/bin/env python3 #! /usr/bin/env python3
"""Build resume.""" """Build resume."""
from os import sep
from pathlib import Path from pathlib import Path
from rwx import fs from rwx import fs
@ -8,10 +9,20 @@ from rwx.ps import run
if __name__ == "__main__": if __name__ == "__main__":
root = Path(__file__).resolve().parent root = Path(__file__).resolve().parent
out = root / "out" input = root / "in"
web = out / "web" output = root / "out"
fs.wipe(out) web = output / "web"
fs.make_directory(web / "img") fs.wipe(output)
fs.make_directory(web)
run(
"rsync",
"--archive",
"--partial",
"--progress",
"--verbose",
f"{input}{sep}",
f"{web}{sep}",
)
run( run(
"qrencode", "qrencode",
("--background", "00000000"), ("--background", "00000000"),