Files

9 lines
278 B
Python

"""Keep EEZ screen exports in sync before PlatformIO configures the build."""
from pathlib import Path
import subprocess
import sys
Import("env")
script = Path(env.subst("$PROJECT_DIR")) / "tools" / "export_display.py"
subprocess.run([sys.executable, str(script)], check=True)