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:
parent
a87f853009
commit
8e90ca50c4
1 changed files with 3 additions and 1 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Reference in a new issue