Skip to content

Commit c0bc3c3

Browse files
authored
Wrap install instructions so they don't soft wrap (#1230)
1 parent 2436b5c commit c0bc3c3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

_data/new-data/install/linux/releases.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ latest-release:
1515
curl -O https://download.swift.org/swiftly/linux/swiftly-(uname -m).tar.gz && \
1616
tar zxf swiftly-(uname -m).tar.gz && \
1717
./swiftly init --quiet-shell-followup && \
18-
set -q SWIFTLY_HOME_DIR && source "$SWIFTLY_HOME_DIR/env.fish" || source ~/.local/share/swiftly/env.fish
18+
set -q SWIFTLY_HOME_DIR && \
19+
source "$SWIFTLY_HOME_DIR/env.fish" || source ~/.local/share/swiftly/env.fish
1920
links:
2021
- href: 'https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt'
2122
copy: 'License: Apache-2.0'

_data/new-data/install/macos/releases.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ latest-release:
1515
curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \
1616
installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \
1717
~/.swiftly/bin/swiftly init --quiet-shell-followup && \
18-
set -q SWIFTLY_HOME_DIR && source "$SWIFTLY_HOME_DIR/env.fish" || source ~/.swiftly/env.fish
18+
set -q SWIFTLY_HOME_DIR && \
19+
source "$SWIFTLY_HOME_DIR/env.fish" || source ~/.swiftly/env.fish
1920
links:
2021
- href: 'https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt'
2122
copy: 'License: Apache-2.0'

0 commit comments

Comments
 (0)