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 -1
View File
@@ -19,11 +19,11 @@ from model.romfolders import setup_paths, source_refs, split_refs
from scraper.romfolders import (
Fetcher,
SourceError,
dump_setup,
load_formats,
load_sources,
scrape_setup,
)
from scraper.romfolders.__main__ import dump_setup
from scraper.retropie_modules import module_enabled
ROOT = Path(__file__).resolve().parent.parent