render
This commit is contained in:
parent
77038e9782
commit
672e59495f
1 changed files with 25 additions and 0 deletions
25
render.py
Executable file
25
render.py
Executable file
|
@ -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}",
|
||||||
|
)
|
Loading…
Add table
Add a link
Reference in a new issue