dot/render.py

25 lines
501 B
Python
Raw Permalink Normal View History

2025-06-08 14:35:04 +02:00
#! /usr/bin/env python3
"""Build resume."""
from os import sep
from pathlib import Path
from rwx import fs
from rwx.ps import run
if __name__ == "__main__":
root = Path(__file__).resolve().parent
root_input = root / "in"
root_output = root / "out"
fs.wipe(root_output)
2025-06-08 15:56:20 +02:00
fs.make_directory(root_output)
2025-06-08 14:35:04 +02:00
run(
"rsync",
"--archive",
"--partial",
"--progress",
"--verbose",
f"{root_input}{sep}",
2025-06-08 15:56:20 +02:00
f"{root_output}{sep}",
2025-06-08 14:35:04 +02:00
)