mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +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,6 +120,7 @@ def main():
|
||||||
print("ladybird.py must be run from a Visual Studio enabled environment", file=sys.stderr)
|
print("ladybird.py must be run from a Visual Studio enabled environment", file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
if "target" in args:
|
||||||
if args.target == "ladybird":
|
if args.target == "ladybird":
|
||||||
args.target = "Ladybird"
|
args.target = "Ladybird"
|
||||||
if not args.target and args.command not in ("build", "rebuild"):
|
if not args.target and args.command not in ("build", "rebuild"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue