mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 04:48:54 -06:00
refactor: build platform packs without printing
build_platform_pack and build_split_packs return what the build came to and print nothing. print_platform_pack holds the report lines, and generate_pack and generate_split_packs compose the two. The variant choice, the plan and the data directory pass return their notices instead of printing them. The callers that silenced stdout to get a record now call the builder.
This commit is contained in:
1 parent
977d3f6874
commit
d8570c6480
15 files changed
+295
-205
No files matched your search
+2
-1
@@ -17,7 +17,8 @@ SCRIPTS = Path(__file__).resolve().parents[1] / "scripts"
|
||||
COMMANDS = {
|
||||
"generate_pack.py": (
|
||||
"packs/archive.py", "packs/naming.py", "packs/scope.py", "packs/datatrees.py",
|
||||
"packs/platformpack.py", "packs/emulatorpack.py", "packs/md5pack.py", "packs/targets.py",
|
||||
"packs/platformpack.py", "packs/platformreport.py", "packs/emulatorpack.py",
|
||||
"packs/md5pack.py", "packs/targets.py",
|
||||
"packs/manifestentry.py", "packs/manifestcores.py", "packs/standalone.py",
|
||||
"packs/manifest.py", "packs/finalize.py", "packs/outputdir.py", "packs/variants.py",
|
||||
"packs/manifestrun.py", "packs/packcheck.py", "packs/runscope.py", "packs/platformrun.py",
|
||||
|
||||
Reference in new issue
Block a user