mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-25 19:08:51 -06:00
refactor: release, installer_build, devtools pkgs
The release tools, the installer build tools and the repository's commit and PR checks keep their commands and move their code into three packages. The release record readers move to model.releaserecord, romfolders to model, the buildbot check to scraper. The site reads the handheld launchers and the bootstrap pin from installer_build.
This commit is contained in:
1 parent
5b3b3f19e8
commit
c4fdf12874
91 files changed
+3508
-3277
No files matched your search
@@ -804,14 +804,14 @@ def _semantic_standalone_checks(path: Path, layouts: object) -> list[str]:
|
||||
|
||||
def _event_schema_errors() -> list[str]:
|
||||
"""install-events.schema.json is EVENT_KEYS written out, and a valid schema."""
|
||||
import generate_event_schema
|
||||
from installer_build import eventschema
|
||||
|
||||
path = ROOT / "schemas" / generate_event_schema.OUTPUT.name
|
||||
path = ROOT / "schemas" / eventschema.OUTPUT.name
|
||||
label = path.relative_to(ROOT).as_posix()
|
||||
if not path.is_file():
|
||||
return [f"{label}: missing, run python scripts/generate_event_schema.py"]
|
||||
if path.read_text(encoding="utf-8") != generate_event_schema.render(
|
||||
generate_event_schema.build_schema()
|
||||
if path.read_text(encoding="utf-8") != eventschema.render(
|
||||
eventschema.build_schema()
|
||||
):
|
||||
return [f"{label}: differs from EVENT_KEYS in install.py, run "
|
||||
"python scripts/generate_event_schema.py"]
|
||||
|
||||
Reference in new issue
Block a user