20 lines
593 B
Python
Executable File
20 lines
593 B
Python
Executable File
#!/usr/bin/env python3
|
||
"""Сгенерировать Typst-листинги автотестов (аналог приложения А, только src/test и androidTest)."""
|
||
from __future__ import annotations
|
||
|
||
import subprocess
|
||
import sys
|
||
from pathlib import Path
|
||
|
||
|
||
def main() -> int:
|
||
script_dir = Path(__file__).resolve().parent
|
||
config = script_dir.parent / "listings" / "tests-listings.config.yaml"
|
||
return subprocess.call(
|
||
[sys.executable, str(script_dir / "gen_listings.py"), "--config", str(config)],
|
||
)
|
||
|
||
|
||
if __name__ == "__main__":
|
||
raise SystemExit(main())
|