diff --git a/render.py b/render.py new file mode 100755 index 0000000..6c10048 --- /dev/null +++ b/render.py @@ -0,0 +1,25 @@ +#! /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" + web = root_output / "web" + fs.wipe(root_output) + fs.make_directory(web) + run( + "rsync", + "--archive", + "--partial", + "--progress", + "--verbose", + f"{root_input}{sep}", + f"{web}{sep}", + )