Meta: Allow ladybird.py to install all targets for host tools builds

In cases when we build only host tools we almost always want to install
all the targets that are there. Lock it down to only host tools as
installing when all targets are build will install a bunch of things
that are probably not intented to be installed.
This commit is contained in:
Undefine 2026-04-21 15:07:02 +02:00 committed by Shannon Booth
parent a87f853009
commit 8e90ca50c4

View file

@ -142,7 +142,9 @@ def main():
if "target" in args:
if platform.host_system != HostSystem.Windows and args.target == "ladybird":
args.target = "Ladybird"
if not args.target and args.command not in ("build", "rebuild"):
if not args.target and not (
args.command in ("build", "rebuild") or (args.preset == "Host_Tools" and args.command == "install")
):
args.target = "ladybird" if platform.host_system == HostSystem.Windows else "Ladybird"
if args.command == "build":