refactor: render setup files from the library

dump_setup moves next to scrape_setup, so readers of the setup format
no longer import the command. base_scraper names its dumper
PlatformDumper, and the command writes through write_if_changed.
This commit is contained in:
Abdessamad Derraz committed 2026-11-21 16:43:46 +01:00
1 parent 12b00e024b
commit b6599375f5
6 files changed
+21 -23

No files matched your search

+1 -2
View File
@@ -15,8 +15,7 @@ from pathlib import Path
from model.romfolders import source_refs, split_refs
from model.safeparse import yaml_load
from scraper.romfolders import SourceError, load_sources, scrape_setup
from scraper.romfolders.__main__ import dump_setup
from scraper.romfolders import SourceError, dump_setup, load_sources, scrape_setup
from scraper.romfolders.card import (
libretro_core,
parse_allium,