mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
refactor: consolidate CI pipeline, remove third-party deps
This commit is contained in:
@@ -15,7 +15,7 @@ from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from common import load_platform_config
|
||||
from common import load_database, load_platform_config
|
||||
|
||||
try:
|
||||
import yaml
|
||||
@@ -24,11 +24,6 @@ except ImportError:
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def load_database(db_path: str) -> dict:
|
||||
with open(db_path) as f:
|
||||
return json.load(f)
|
||||
|
||||
|
||||
def load_platform_configs(platforms_dir: str) -> dict:
|
||||
"""Load all platform configs with inheritance resolved."""
|
||||
configs = {}
|
||||
|
||||
Reference in New Issue
Block a user