RESOLVED FIXED276892
Improve congratulations text in build-webkit by having the complete command to run needed a launcher
https://bugs.webkit.org/show_bug.cgi?id=276892
Summary Improve congratulations text in build-webkit by having the complete command t...
Sam Weinig
Reported 2024-07-22 11:07:52 PDT
The current "congratulation" text output at the end of build-webkit leads can be a bit confusing, especially if set-webkit-configuration is set to a different configuration than the what you just built. For instance, if you get a new clone of WebKit, and are following https://webkit.org/building-webkit/ by calling "build-webkit --debug", once you finish the build you will see: ==================================================================== WebKit is now built (10m:31s). To run Safari with this newly-built code, use the "Tools/Scripts/run-safari" script. ==================================================================== but if you run "Tools/Scripts/run-safari" it will fail with a confusing error about not finding JavaScriptCore: "Can't find built framework at ".../WebKit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/JavaScriptCore"." By including the complete set of arguments for the command, in this case, "Tools/Scripts/run-safari --debug", the first time experience can be a bit smoother.
Attachments
Sam Weinig
Comment 1 2024-07-22 11:09:47 PDT
Proposed new text: ==================================================================== WebKit is now built (10m:31s). To run Safari with this newly-built code, use the command "Tools/Scripts/run-safari --debug". ==================================================================== (we can use argumentsForConfiguration() from webkitdirs.pm so that it matches whatever is needed, including --ios-simulator flags and whatnot).
Sam Weinig
Comment 2 2024-07-22 11:21:56 PDT
EWS
Comment 3 2024-07-23 08:37:26 PDT
Committed 281246@main (66e951b57bb4): <https://commits.webkit.org/281246@main> Reviewed commits have been landed. Closing PR #31072 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2024-07-23 08:38:16 PDT
Note You need to log in before you can comment on or make changes to this bug.