Files
copilot-handleidingen/_gereedschap/bouw_alles.py
T

10 lines
368 B
Python

#!/usr/bin/env python3
"""Bouwt alle handleidingen en bijlagen in één keer: python3 _gereedschap/bouw_alles.py"""
import runpy, sys
from pathlib import Path
root = Path(__file__).resolve().parent.parent
for build in sorted(root.glob("*/build.py")):
print(f"== {build.parent.name}")
sys.argv = [str(build)]
runpy.run_path(str(build), run_name="__main__")