| $title = "Running WebKit"; |
| include("../header.inc"); |
| <li><p>Type this command to run Safari with the WebKit you built:</p> |
| <p class="code">WebKit/WebKitTools/Scripts/run-safari</p> |
| <p>Use the <tt>--debug</tt> option for a debug build:</p> |
| <p class="code">WebKit/WebKitTools/Scripts/run-safari --debug</p> |
| <div class="mac-instructions"> |
| <p>The <tt>run-safari</tt> script sets the <tt>DYLD_FRAMEWORK_PATH</tt> environment variable to point to your build products, |
| and then launches /Applications/Safari.app. <tt>DYLD_FRAMEWORK_PATH</tt> tells the system loader to prefer your build products over the frameworks installed in /System/Library/Frameworks.</p> |
| <div class="windows-instructions"> |
| <p>The <tt>run-safari</tt> script launches the Safari executable with the <tt>/frameworkPath</tt> command line switch set to point to your build products. The <tt>/debug</tt> command line switch will be set if you pass --debug to run-safari.</p> |
| <p>It's handy to put <tt>WebKit/WebKitTools/Scripts</tt> in your shell path so you can type commands like <tt>run-safari</tt> without specifying a full path.</p> |
| include("../footer.inc"); |