mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 16:49:54 +00:00
Meta: Don't assume all build commands have a target
For example, the "test" and "vcpkg" build commands do not.
This commit is contained in:
parent
61285ffbee
commit
6345ebb78c
Notes:
github-actions[bot]
2025-05-30 10:42:00 +00:00
Author: https://github.com/trflynn89
Commit: 6345ebb78c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4917
1 changed files with 5 additions and 4 deletions
|
@ -120,10 +120,11 @@ def main():
|
|||
print("ladybird.py must be run from a Visual Studio enabled environment", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
if args.target == "ladybird":
|
||||
args.target = "Ladybird"
|
||||
if not args.target and args.command not in ("build", "rebuild"):
|
||||
args.target = "Ladybird"
|
||||
if "target" in args:
|
||||
if args.target == "ladybird":
|
||||
args.target = "Ladybird"
|
||||
if not args.target and args.command not in ("build", "rebuild"):
|
||||
args.target = "Ladybird"
|
||||
|
||||
(cc, cxx) = pick_host_compiler(platform, args.cc, args.cxx)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue