377
edits
(→Advanced options: Add crossref and mention the new --override-repo option) |
(→Getting download_and_compile.sh the “right way”: Remove confusing note and add '-b next' to the 'git clone' command to be 100% sure 'next' will be checked out) |
||
Line 84: | Line 84: | ||
There are several ways to obtain [https://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh download_and_compile.sh]. The method described here makes it very easy to update the script and causes the command <code>download_and_compile.sh --version</code> to work as intended. | There are several ways to obtain [https://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh download_and_compile.sh]. The method described here makes it very easy to update the script and causes the command <code>download_and_compile.sh --version</code> to work as intended. | ||
As explained in [[#getting-started-with-download-and-compile-sh-notations|Notations]], we want to clone the [[FGMeta]] repository in <tt>~/flightgear/fgmeta</tt> and work with its ''next'' branch. Let's go: | |||
As explained in [[#getting-started-with-download-and-compile-sh-notations|Notations]], we want to clone the [[FGMeta]] repository in <tt>~/flightgear/fgmeta</tt>. Let's go: | |||
$ mkdir -p ~/flightgear | $ mkdir -p ~/flightgear | ||
$ cd ~/flightgear | $ cd ~/flightgear | ||
<nowiki>$ git clone https://git.code.sf.net/p/flightgear/fgmeta</nowiki> | <nowiki>$ git clone -b next https://git.code.sf.net/p/flightgear/fgmeta</nowiki> | ||
You now have a fresh FGMeta clone in <tt>~/flightgear/fgmeta</tt> and your brand new <tt>download_and_compile.sh</tt> script is located in that directory. You can already try it to see the available options: | You now have a fresh FGMeta clone in <tt>~/flightgear/fgmeta</tt> and your brand new <tt>download_and_compile.sh</tt> script is located in that directory. You can already try it to see the available options: | ||
<pre>$ ~/flightgear/fgmeta/download_and_compile.sh --help | <pre>$ ~/flightgear/fgmeta/download_and_compile.sh --help |
edits