RESOLVED FIXED176964
Create a launcher for webkit-archives
https://bugs.webkit.org/show_bug.cgi?id=176964
Summary Create a launcher for webkit-archives
Lucas Forschler
Reported 2017-09-14 15:57:32 PDT
The Apple webkit archives produced by build.webkit.org have no easy way of launching without a WebKit checkout. This bug will track creating a wrapper to be included in the archives such that they can be launched.
Attachments
v1 patch for review (4.03 KB, patch)
2017-09-14 15:59 PDT, Lucas Forschler
lforschler: commit-queue-
v1 patch for review (4.03 KB, patch)
2017-09-14 16:28 PDT, Lucas Forschler
aakash_jain: review+
lforschler: commit-queue-
Radar WebKit Bug Importer
Comment 1 2017-09-14 15:58:05 PDT
Lucas Forschler
Comment 2 2017-09-14 15:59:33 PDT
Created attachment 320838 [details] v1 patch for review
Lucas Forschler
Comment 3 2017-09-14 16:28:31 PDT
Created attachment 320842 [details] v1 patch for review
Aakash Jain
Comment 4 2017-09-14 16:52:33 PDT
Comment on attachment 320842 [details] v1 patch for review View in context: https://bugs.webkit.org/attachment.cgi?id=320842&action=review > Tools/Scripts/run-webkit-archive:34 > + current_directory = os.path.abspath(os.path.join(script_path,os.pardir)) Is this code to get the directory name? You can probably do current_directory = os.path.dirname(script_path) > Tools/Scripts/run-webkit-archive:41 > + print('No Release or Debug framework directories found, exiting.') This message can use some polishing, maybe specify where are Release or Debug directories not found. > Tools/Scripts/run-webkit-archive:55 > + script_directory = os.path.dirname(script_path) script_directory seems to be unused > Tools/Scripts/run-webkit-archive:61 > + if 'Darwin' not in platform.system(): This code should be made a separate function and called from inside main(). e.g.: check_for_valid_platform()
Lucas Forschler
Comment 5 2017-09-14 17:14:27 PDT
Committed revision 222067.
Note You need to log in before you can comment on or make changes to this bug.