From d22c36d01deaee7fd665fa499edb6b2509c8de6e Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 9 Dec 2024 01:19:40 +0100 Subject: [PATCH] build/web --- build.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 build.py diff --git a/build.py b/build.py new file mode 100755 index 0000000..2dae185 --- /dev/null +++ b/build.py @@ -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")