mirror of
https://github.com/baketnk/frame-yap.git
synced 2026-10-06 03:00:04 +02:00
Add idempotent native release installer with external ASR boundary
This commit is contained in:
1 parent
0cb2991f02
commit
73dc4fda06
7 files changed
+1500
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Developer helper: synchronize the standalone piped installer payload."""
|
||||
from pathlib import Path
|
||||
root = Path(__file__).resolve().parents[1]
|
||||
wrapper = root / "install.sh"
|
||||
header = wrapper.read_text().split("<<'PY'\n", 1)[0] + "<<'PY'\n"
|
||||
payload = (root / "scripts/install_payload.py").read_text()
|
||||
if "\nPY\n" in payload:
|
||||
raise ValueError("heredoc delimiter appears in payload")
|
||||
wrapper.write_text(header + payload + "\nPY\n")
|
||||
Reference in new issue
Block a user