| OLD | NEW |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
| 2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | 2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
| 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| 4 <head> | 4 <head> |
| 5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /
> | 5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /
> |
| 6 <meta name="generator" content="AsciiDoc 8.6.9" /> | 6 <meta name="generator" content="AsciiDoc 8.6.9" /> |
| 7 <title>depot_tools_tutorial(7)</title> | 7 <title>depot_tools_tutorial(7)</title> |
| 8 <style type="text/css"> | 8 <style type="text/css"> |
| 9 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ | 9 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
| 10 | 10 |
| (...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 866 <div class="sect1"> | 866 <div class="sect1"> |
| 867 <h2 id="_setting_up">SETTING UP</h2> | 867 <h2 id="_setting_up">SETTING UP</h2> |
| 868 <div class="sectionbody"> | 868 <div class="sectionbody"> |
| 869 <div class="sect2"> | 869 <div class="sect2"> |
| 870 <h3 id="_get_depot_tools">GET DEPOT TOOLS</h3> | 870 <h3 id="_get_depot_tools">GET DEPOT TOOLS</h3> |
| 871 <div class="sect3"> | 871 <div class="sect3"> |
| 872 <h4 id="_linux_mac">LINUX / MAC</h4> | 872 <h4 id="_linux_mac">LINUX / MAC</h4> |
| 873 <div class="paragraph"><p>Clone the <em>depot_tools</em> repository:</p></div> | 873 <div class="paragraph"><p>Clone the <em>depot_tools</em> repository:</p></div> |
| 874 <div class="listingblock"> | 874 <div class="listingblock"> |
| 875 <div class="content"> | 875 <div class="content"> |
| 876 <pre><code><strong><span class="white">$ git clone https://chromium.googlesource
.com/chromium/tools/depot_tools</span></strong></code></pre> | 876 <pre><code><strong><span class="white">$ git clone https://chromium.googlesource
.com/chromium/tools/depot_tools.git</span></strong></code></pre> |
| 877 </div></div> | 877 </div></div> |
| 878 <div class="paragraph"><p>Add <em>depot_tools</em> to the <em>end</em> of your P
ATH (you will probably want to put this | 878 <div class="paragraph"><p>Add <em>depot_tools</em> to the <em>end</em> of your P
ATH (you will probably want to put this |
| 879 in your <code>~/.bashrc</code> or <code>~/.zshrc</code>). Assuming you cloned <e
m>depot_tools</em> to | 879 in your <code>~/.bashrc</code> or <code>~/.zshrc</code>). Assuming you cloned <e
m>depot_tools</em> to |
| 880 <code>/path/to/depot_tools</code>:</p></div> | 880 <code>/path/to/depot_tools</code>:</p></div> |
| 881 <div class="listingblock"> | 881 <div class="listingblock"> |
| 882 <div class="content"> | 882 <div class="content"> |
| 883 <pre><code><strong><span class="white">$ export PATH=$PATH:/path/to/depot_tools<
/span></strong></code></pre> | 883 <pre><code><strong><span class="white">$ export PATH=$PATH:/path/to/depot_tools<
/span></strong></code></pre> |
| 884 </div></div> | 884 </div></div> |
| 885 </div> | 885 </div> |
| 886 <div class="sect3"> | 886 <div class="sect3"> |
| 887 <h4 id="_windows">WINDOWS</h4> | 887 <h4 id="_windows">WINDOWS</h4> |
| 888 <div class="paragraph"><p>Download the <em>depot_tools</em> | 888 <div class="paragraph"><p>Download the <em>depot_tools</em> |
| 889 <a href="https://src.chromium.org/svn/trunk/tools/depot_tools.zip">bundle</a> an
d | 889 <a href="https://src.chromium.org/svn/trunk/tools/depot_tools.zip">bundle</a> an
d |
| 890 extract it somewhere.</p></div> | 890 extract it somewhere.</p></div> |
| 891 <div class="admonitionblock"> | 891 <div class="admonitionblock"> |
| 892 <table><tr> | 892 <table><tr> |
| 893 <td class="icon"> | 893 <td class="icon"> |
| 894 <div class="title">Warning</div> | 894 <div class="title">Warning</div> |
| 895 </td> | 895 </td> |
| 896 <td class="content"><strong>DO NOT</strong> use drag-n-drop or copy-n-paste extr
act from Explorer, this will not | 896 <td class="content"><strong>DO NOT</strong> use drag-n-drop or copy-n-paste extr
act from Explorer, this will not |
| 897 extract the hidden “.git” folder which is necessary for <em>depot_to
ols</em> to | 897 extract the hidden “.git” folder which is necessary for <em>depot_to
ols</em> to |
| 898 autoupdate itself. You can use “Extract all…” from the context
menu though.</td> | 898 autoupdate itself. You can use “Extract all…” from the context
menu though.</td> |
| 899 </tr></table> | 899 </tr></table> |
| 900 </div> | 900 </div> |
| 901 <div class="paragraph"><p>Add <em>depot_tools</em> to the <em>end</em> of your P
ATH. Assuming you unzipped the | 901 <div class="paragraph"><p>Add <em>depot_tools</em> to the <em>end</em> of your P
ATH. Assuming you unzipped the |
| 902 bundle to <code>C:\workspace\depot_tools</code>:</p></div> | 902 bundle to <code>C:\workspace\depot_tools</code>:</p></div> |
| 903 <div class="dlist"><dl> | 903 <div class="dlist"><dl> |
| 904 <dt class="hdlist1"> | 904 <dt class="hdlist1"> |
| 905 With Administrator access: | 905 With Administrator access: |
| 906 </dt> | 906 </dt> |
| 907 <dd> | 907 <dd> |
| 908 <p> | 908 <p> |
| 909 <strong>Control Panel → System and Security → System → Advan
ced system settings</strong> | 909 <strong>Control Panel → System and Security → System → Advan
ced system settings</strong> |
| 910 </p> | 910 </p> |
| 911 <div class="paragraph"><p>Modify the PATH system variable to include <code>C:\wo
rkspace\depot_tools</code>.</p></div> | 911 <div class="paragraph"><p>Modify the PATH system variable to include <code>C:\wo
rkspace\depot_tools</code>.</p></div> |
| 912 </dd> | 912 </dd> |
| 913 <dt class="hdlist1"> | 913 <dt class="hdlist1"> |
| 914 Without Administrator access: | 914 Without Administrator access: |
| 915 </dt> | 915 </dt> |
| 916 <dd> | 916 <dd> |
| 917 <p> | 917 <p> |
| 918 <strong>Control Panel → User Accounts → User Accounts → Chan
ge my environment variables</strong> | 918 <strong>Control Panel → User Accounts → User Accounts → Chan
ge my environment variables</strong> |
| 919 </p> | 919 </p> |
| 920 <div class="paragraph"><p>Add a PATH user variable: <code>%PATH%;C:\workspace\de
pot_tools</code>.</p></div> | 920 <div class="paragraph"><p>Add a PATH user variable: <code>%PATH%;C:\workspace\de
pot_tools</code>.</p></div> |
| 921 </dd> | 921 </dd> |
| 922 </dl></div> | 922 </dl></div> |
| 923 <div class="paragraph"><p>From a <code>cmd.exe</code> shell, run the command <co
de>gclient</code> (without arguments). On first | 923 <div class="paragraph"><p>From a <code>cmd.exe</code> shell, run the command <co
de>gclient</code> (without arguments). On first |
| 924 run, gclient will install all the Windows-specific bits needed to work with the | 924 run, gclient will install all the Windows-specific bits needed to work with the |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1579 </div> | 1579 </div> |
| 1580 </div> | 1580 </div> |
| 1581 <div id="footnotes"><hr /></div> | 1581 <div id="footnotes"><hr /></div> |
| 1582 <div id="footer"> | 1582 <div id="footer"> |
| 1583 <div id="footer-text"> | 1583 <div id="footer-text"> |
| 1584 Last updated 2014-05-09 17:43:43 PDT | 1584 Last updated 2014-05-09 17:43:43 PDT |
| 1585 </div> | 1585 </div> |
| 1586 </div> | 1586 </div> |
| 1587 </body> | 1587 </body> |
| 1588 </html> | 1588 </html> |
| OLD | NEW |