project,projects
All checks were successful
/ job (push) Successful in 2m32s

This commit is contained in:
Marc Beninca 2025-05-25 16:14:03 +02:00
parent 98ca70fdce
commit 7c72d6aeef
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,36 +1,23 @@
#! /usr/bin/env -S python3 -B
import os
import shutil
import subprocess
import sys
from pathlib import Path
from rwx.prj import Project
from rwx.prj.sphinx import SphinxProject
TRAVAUX = [
PROJECTS = [
# "blanc",
# "probatoire",
# "thesis",
]
def others():
travaux = os.path.join("cnam.marc")
for travail in TRAVAUX:
subprocess.call([os.path.join(travaux, travail, "build.py")])
def main():
file = os.path.realpath(__file__)
directory = os.path.dirname(file)
os.chdir(directory)
if __name__ == "__main__":
root = Path(__file__).resolve().parent / "cnam.marc"
# projects
others()
for project in PROJECTS:
Project(root / project).build()
# project
sys.exit(SphinxProject(Path(__file__)).build())
if __name__ == "__main__":
main()