From 3464d23d9259e7b6183be434ea1c264a6d8fae01 Mon Sep 17 00:00:00 2001 From: a2a-cloud Date: Sat, 18 Jul 2026 02:38:44 +0000 Subject: [PATCH] a2a-source-edit: write frontend/build_static.py --- frontend/build_static.py | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 frontend/build_static.py diff --git a/frontend/build_static.py b/frontend/build_static.py new file mode 100644 index 0000000..0e99e31 --- /dev/null +++ b/frontend/build_static.py @@ -0,0 +1,52 @@ +from __future__ import annotations + +from pathlib import Path + +ROOT = Path(__file__).resolve().parent +DIST = ROOT / "dist" +DIST.mkdir(exist_ok=True) + +html = r''' + + + + + QuoteJudge Studio + + + +
Loading QuoteJudge...
+ + + +''' +(DIST / "index.html").write_text(html, encoding="utf-8") +print(f"wrote {DIST / 'index.html'}")