action
Some checks failed
Lints / typos (push) Successful in 23s
Build and deploy / build (push) Failing after 2m18s

This commit is contained in:
2025-01-21 16:25:24 -08:00
parent 9a65d3a46a
commit 433ccfb929
2 changed files with 16 additions and 13 deletions

View File

@ -16,10 +16,15 @@ ROOT: Path = Path(os.getcwd())
### CONFIGURATION
OUT_DIR: Path = ROOT / "output"
TYPST_PATH = "typst"
XETEX_PATH = "xelatex"
TYPST_PATH: str = "typst"
XETEX_PATH: str = "xelatex"
### END CONFIGURATION
# Allow path override
_env = os.environ.get("TYPST_PATH")
if isinstance(_env, str):
TYPST_PATH = _env
def log(msg):
print(f"[BUILD.PY] {msg}")