File tree Expand file tree Collapse file tree 4 files changed +18
-6
lines changed Expand file tree Collapse file tree 4 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,17 @@ latest-release:
66 tabs :
77 - label : Bash
88 code : |-
9- curl -O " https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz" && \
10- tar zxf " swiftly-$(uname -m).tar.gz" && \
9+ curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz && \
10+ tar zxf swiftly-$(uname -m).tar.gz && \
1111 ./swiftly init --quiet-shell-followup && \
12- . ~/.local/share/swiftly/env.sh && \
12+ . "${SWIFTLY_HOME_DIR:- ~/.local/share/swiftly} /env.sh" && \
1313 hash -r
14+ - label : Fish
15+ code : |-
16+ curl -O https://download.swift.org/swiftly/linux/swiftly-(uname -m).tar.gz && \
17+ tar zxf swiftly-(uname -m).tar.gz && \
18+ ./swiftly init --quiet-shell-followup && \
19+ set -q SWIFTLY_HOME_DIR && . "$SWIFTLY_HOME_DIR/env.fish" || . ~/.local/share/swiftly/env.fish
1420 links :
1521 - href : ' https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt'
1622 copy : ' License: Apache-2.0'
Original file line number Diff line number Diff line change @@ -9,8 +9,14 @@ latest-release:
99 curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \
1010 installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \
1111 ~/.swiftly/bin/swiftly init --quiet-shell-followup && \
12- . ${SWIFTLY_HOME_DIR:-~/.swiftly}/env.sh && \
12+ . " ${SWIFTLY_HOME_DIR:-~/.swiftly}/env.sh" && \
1313 hash -r
14+ - label : Fish
15+ code : |
16+ curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \
17+ installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \
18+ ~/.swiftly/bin/swiftly init --quiet-shell-followup && \
19+ set -q SWIFTLY_HOME_DIR && . "$SWIFTLY_HOME_DIR/env.fish" || . ~/.swiftly/env.fish
1420 links :
1521 - href : ' https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt'
1622 copy : ' License: Apache-2.0'
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ title: Install Swift - Linux
88<div class =" content " >
99 <div class =" release-box section " >
1010 <div class="content">
11- {% include new-includes/components/code-box.html content = site.data.new-data.install.linux.releases.latest-release.swiftly %}
11+ {% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.linux.releases.latest-release.swiftly %}
1212 </div>
1313 </div >
1414 <div class =" release-box section " >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ title: Install Swift - macOS
1111<div class =" content " >
1212 <div class =" release-box section " >
1313 <div class="content">
14- {% include new-includes/components/code-box.html content = site.data.new-data.install.macos.releases.latest-release.swiftly%}
14+ {% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.macos.releases.latest-release.swiftly%}
1515 </div>
1616 </div >
1717 <div class =" release-box section " >
You can’t perform that action at this time.
0 commit comments