mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-25 20:42:48 +00:00
refactor: consolidate CI pipeline, remove third-party deps
This commit is contained in:
parent
e6ea0484a8
commit
3453f89d9d
34 changed files with 206 additions and 2091 deletions
|
|
@ -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 = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue