Decide MVP shelter building style
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env python3
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
ROADMAP = ROOT / "AGRARIAN_DEVELOPMENT_ROADMAP.md"
|
||||
TECHNICAL_DESIGN = ROOT / "Docs" / "TechnicalDesignDocument.md"
|
||||
|
||||
|
||||
def require(path: Path, text: str) -> None:
|
||||
data = " ".join(path.read_text(encoding="utf-8").split())
|
||||
if text not in data:
|
||||
raise SystemExit(f"FAIL: {path.relative_to(ROOT)} missing required text: {text}")
|
||||
|
||||
|
||||
def main() -> None:
|
||||
require(ROADMAP, "[x] Decide MVP building style.")
|
||||
require(ROADMAP, "crafted-kit style")
|
||||
require(ROADMAP, "Fully modular wall-by-wall building stays deferred")
|
||||
require(TECHNICAL_DESIGN, "shelter construction is intentionally kit-based")
|
||||
require(TECHNICAL_DESIGN, "Fully modular wall-by-wall construction is deferred")
|
||||
print("PASS: MVP shelter building style decision is documented.")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user