build/web

This commit is contained in:
Marc Beninca 2024-12-09 01:19:40 +01:00
parent 3d3b8da3af
commit d22c36d01d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

11
build.py Executable file
View file

@ -0,0 +1,11 @@
#! /usr/bin/env python3
"""Build web."""
from pathlib import Path
from rwx.fs import make_directory, write
if __name__ == "__main__":
out = Path(__file__).parent / "out" / "web"
make_directory(out)
write(out / "index.html", "to.rwx.work")