mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
feat: propagate source flags to pipeline
This commit is contained in:
@@ -166,6 +166,8 @@ def main():
|
|||||||
help="(no-op) Core requirements are always included",
|
help="(no-op) Core requirements are always included",
|
||||||
)
|
)
|
||||||
parser.add_argument("--target", "-t", help="Hardware target (e.g., switch, rpi4)")
|
parser.add_argument("--target", "-t", help="Hardware target (e.g., switch, rpi4)")
|
||||||
|
parser.add_argument("--source", choices=["platform", "truth", "full"], default="full")
|
||||||
|
parser.add_argument("--all-variants", action="store_true")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--check-buildbot",
|
"--check-buildbot",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
@@ -326,6 +328,10 @@ def main():
|
|||||||
pack_cmd.append("--include-extras")
|
pack_cmd.append("--include-extras")
|
||||||
if args.target:
|
if args.target:
|
||||||
pack_cmd.extend(["--target", args.target])
|
pack_cmd.extend(["--target", args.target])
|
||||||
|
if args.source != "full":
|
||||||
|
pack_cmd.extend(["--source", args.source])
|
||||||
|
if args.all_variants:
|
||||||
|
pack_cmd.append("--all-variants")
|
||||||
ok, pack_output = run(pack_cmd, "4/8 generate packs")
|
ok, pack_output = run(pack_cmd, "4/8 generate packs")
|
||||||
results["generate_packs"] = ok
|
results["generate_packs"] = ok
|
||||||
all_ok = all_ok and ok
|
all_ok = all_ok and ok
|
||||||
|
|||||||
Reference in New Issue
Block a user