|
1525 | 1525 | </li>
|
1526 | 1526 |
|
1527 | 1527 | <li class="md-nav__item">
|
1528 |
| - <a href="#buildloopdev-script" class="md-nav__link"> |
| 1528 | + <a href="#build-dev-with-mac" class="md-nav__link"> |
1529 | 1529 | <span class="md-ellipsis">
|
1530 |
| - BuildLoopDev Script |
| 1530 | + Build dev with Mac |
1531 | 1531 | </span>
|
1532 | 1532 | </a>
|
1533 | 1533 |
|
1534 |
| - <nav class="md-nav" aria-label="BuildLoopDev Script"> |
| 1534 | + <nav class="md-nav" aria-label="Build dev with Mac"> |
1535 | 1535 | <ul class="md-nav__list">
|
1536 | 1536 |
|
1537 | 1537 | <li class="md-nav__item">
|
|
3505 | 3505 | </li>
|
3506 | 3506 |
|
3507 | 3507 | <li class="md-nav__item">
|
3508 |
| - <a href="#buildloopdev-script" class="md-nav__link"> |
| 3508 | + <a href="#build-dev-with-mac" class="md-nav__link"> |
3509 | 3509 | <span class="md-ellipsis">
|
3510 |
| - BuildLoopDev Script |
| 3510 | + Build dev with Mac |
3511 | 3511 | </span>
|
3512 | 3512 | </a>
|
3513 | 3513 |
|
3514 |
| - <nav class="md-nav" aria-label="BuildLoopDev Script"> |
| 3514 | + <nav class="md-nav" aria-label="Build dev with Mac"> |
3515 | 3515 | <ul class="md-nav__list">
|
3516 | 3516 |
|
3517 | 3517 | <li class="md-nav__item">
|
@@ -3571,18 +3571,24 @@ <h2 id="overview">Overview<a class="headerlink" href="#overview" title="Anchor l
|
3571 | 3571 | <ul>
|
3572 | 3572 | <li><strong><a href="../../version/development/#whats-going-on-in-the-dev-branch">What's going on in the <code>dev branch</code></a></strong></li>
|
3573 | 3573 | </ul>
|
3574 |
| -<h2 id="buildloopdev-script"><code>BuildLoopDev</code> Script<a class="headerlink" href="#buildloopdev-script" title="Anchor link to this Header on this Page">¶</a></h2> |
3575 |
| -<blockquote> |
3576 |
| -<p>Choose the tip of dev when using the existing scripts. The concept of the lightly tested <abbr title="a formal change to files in a repository; each commit has an alphanumeric identifier (SHA-1)">commit</abbr> is no longer needed. Each <code>dev</code> update comes with a new dev version number after a formal review process.</p> |
3577 |
| -</blockquote> |
3578 |
| -<p>There is a script to assist in building the <code>dev branch</code>. It gives you the option to choose the tip of the <code>dev branch</code> or to build a lightly tested <abbr title="a formal change to files in a repository; each commit has an alphanumeric identifier (SHA-1)">commit</abbr>. If you have not used the <a href="../build-app/#build-select-script"><abbr title="by running a command in your terminal, this menu-driven tool assists in building Loop">Build Select Script</abbr></a> to build <abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr> previously, you may want to review that page. The command below can be pasted into the terminal of your Mac. Read the directions in the script.</p> |
3579 |
| -<div class="copy highlight"><span class="filename">Copy and Paste to start the BuildLoopDev script</span><pre><span></span><code>/bin/bash<span class="w"> </span>-c<span class="w"> </span><span class="s2">"</span><span class="k">$(</span>curl<span class="w"> </span>-fsSL<span class="w"> </span><span class="se">\</span> |
3580 |
| -<span class="w"> </span>https://raw.githubusercontent.com/loopandlearn/lnl-scripts/main/BuildLoopDev.sh<span class="k">)</span><span class="s2">"</span> |
| 3574 | +<h2 id="build-dev-with-mac">Build <code>dev</code> with Mac<a class="headerlink" href="#build-dev-with-mac" title="Anchor link to this Header on this Page">¶</a></h2> |
| 3575 | +<p>The same script is used to build the <code>dev</code> <abbr title="version of code within a single repository or workspace repository">branch</abbr> as is used to build the <code>main</code> <abbr title="version of code within a single repository or workspace repository">branch</abbr>. Copy and paste this command in any terminal and choose <code>dev</code> <abbr title="version of code within a single repository or workspace repository">branch</abbr>. Follow the instructions on the screen.</p> |
| 3576 | +<div class="highlight"><span class="filename">Copy and Paste to start the BuildLoop Script</span><pre><span></span><code>/bin/bash -c "$(curl -fsSL \ |
| 3577 | + https://raw.githubusercontent.com/loopandlearn/lnl-scripts/main/BuildLoop.sh)" |
3581 | 3578 | </code></pre></div>
|
| 3579 | +<p>For more detailed instructions, head over to:</p> |
| 3580 | +<ul> |
| 3581 | +<li> |
| 3582 | +<p><a href="https://loopkit.github.io/loopdocs/build/build-app/#download-loop" target="_blank">Experienced Builder: Instructions to Download and Build <abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr></a></p> |
| 3583 | +</li> |
| 3584 | +<li> |
| 3585 | +<p><a href="https://loopkit.github.io/loopdocs/build/build-app/#prepare-your-phone-and-watch" target="_blank">New Builder: Start here to set up <abbr title="Extra security for iOS 16 and newer; this must be turned on to allow an app built from Xcode directly to the phone to run on a phone or watch">Developer Mode</abbr> on Phone and Watch</a></p> |
| 3586 | +</li> |
| 3587 | +</ul> |
3582 | 3588 | <h3 id="build-other-branches">Build Other Branches<a class="headerlink" href="#build-other-branches" title="Anchor link to this Header on this Page">¶</a></h3>
|
3583 |
| -<p>You can use the BuildLoopDev script to build a specific development <abbr title="version of code within a single repository or workspace repository">branch</abbr>, other than <code>dev</code>. At the end of the script (from above), add a space after the final quote, followed by a hyphen, another space and then the <abbr title="version of code within a single repository or workspace repository">branch</abbr> name. See the example below that would build <code>other-branch</code>, if such a <abbr title="version of code within a single repository or workspace repository">branch</abbr> existed. This is just an example. You need to substitute the <abbr title="version of code within a single repository or workspace repository">branch</abbr> you desire for <code>other-branch</code>. The example below uses a continuation character to put the extra characters on a new line to make this easier to read.</p> |
| 3589 | +<p>You can use the BuildLoop script to build a feature <abbr title="version of code within a single repository or workspace repository">branch</abbr> that was advertised in zulipchat but has not been merged into <code>dev</code>. At the end of the script (from above), add a space after the final quote, followed by a hyphen, another space and then the <abbr title="version of code within a single repository or workspace repository">branch</abbr> name. See the example below that would build <code>other-branch</code>, if such a <abbr title="version of code within a single repository or workspace repository">branch</abbr> existed. This is just an example. You need to substitute the <abbr title="version of code within a single repository or workspace repository">branch</abbr> you desire for <code>other-branch</code>. The example below uses a continuation character to put the extra characters on a new line to make this easier to read.</p> |
3584 | 3590 | <div class="highlight"><span class="filename">Replace <code>other-branch</code> with the desired branch</span><pre><span></span><code>/bin/bash -c "$(curl -fsSL \
|
3585 |
| - https://raw.githubusercontent.com/loopandlearn/lnl-scripts/main/BuildLoopDev.sh)" \ |
| 3591 | + https://raw.githubusercontent.com/loopandlearn/lnl-scripts/main/BuildLoop.sh)" \ |
3586 | 3592 | - other-branch
|
3587 | 3593 | </code></pre></div>
|
3588 | 3594 | <h2 id="update-loop-dev">Update <abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr>-dev<a class="headerlink" href="#update-loop-dev" title="Anchor link to this Header on this Page">¶</a></h2>
|
|
0 commit comments