run.html 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <?php
  2. $title = "Running WebKit";
  3. include("../header.inc");
  4. ?>
  5. <h2>Running WebKit</h2>
  6. <ol>
  7. <li><p>Execute the <code>run-safari</code> <a href="/coding/scripts.html">script</a>
  8. to run Safari with the WebKit version you <a href="build.html">built</a>.</p>
  9. <p>Use the <code>--debug</code> option for a debug build:</p>
  10. <p class="code">run-safari --debug</p>
  11. </li>
  12. </ol>
  13. <div class="mac-instructions">
  14. <h4>Mac OS X</h4>
  15. <p>The <code>run-safari</code> script sets the <code>DYLD_FRAMEWORK_PATH</code> environment variable to point to your build products,
  16. and then launches /Applications/Safari.app. <code>DYLD_FRAMEWORK_PATH</code> tells the system loader to prefer your build products over the frameworks installed in /System/Library/Frameworks.</p>
  17. </div>
  18. <div class="windows-instructions">
  19. <h4>Windows</h4>
  20. <p>The <code>run-safari</code> script launches the Safari executable with the <code>/frameworkPath</code> command line switch set to point to your build products. The <code>/debug</code> command line switch will be set if you pass --debug to <code>run-safari.</code></p>
  21. </div>
  22. <?php
  23. include("../footer.inc");
  24. ?>