You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These locations can be changed by setting the environment variables
83
+
SWIFTLY_HOME_DIR and SWIFTLY_BIN_DIR before running 'swiftly init' again.
84
+
85
+
"""
86
+
if !skipInstall {
87
+
msg +="""
88
+
89
+
Once swiftly is set up, it will install the latest available Swift toolchain. This can be
90
+
suppressed with the '--skip-install' option.
91
+
"""
69
92
#if os(Linux)
70
-
letsigMsg=" In the process of installing the new toolchain swiftly will add swift.org GnuPG keys into your keychain to verify the integrity of the downloads."
93
+
msg +="""
94
+
In the process, swiftly will add swift.org
95
+
GnuPG keys into your keychain to verify the integrity of the downloads.
96
+
97
+
"""
71
98
#else
72
-
letsigMsg=""
99
+
msg +="\n"
73
100
#endif
74
-
letinstallMsg=if !skipInstall {
75
-
"\nOnce swiftly is installed it will install the latest available swift toolchain.\(sigMsg)\n"
76
-
}else{""}
101
+
}
102
+
if !noModifyProfile {
103
+
msg +="""
77
104
78
-
SwiftlyCore.print("""
79
-
Swiftly will be installed into the following locations:
105
+
For your convenience, swiftly will also attempt to modify your shell's profile file to make
106
+
installed items available in your environment upon login. This can be suppressed with the
107
+
'--no-modify-profile' option.
80
108
81
-
\(Swiftly.currentPlatform.swiftlyHomeDir.path) - Data and configuration files directory including toolchains
// Fish doesn't have path caching, so this might only be needed for bash/zsh
240
266
if pathChanged && !quietShellFollowup && !shell.hasSuffix("fish"){
241
267
SwiftlyCore.print("""
242
-
Your shell caches items on your path for better performance. Swiftly has added items to your path that may not get picked up right away. You can run this command to update your shell to get these items.
268
+
Your shell caches items on your path for better performance. Swiftly has added
269
+
items to your path that may not get picked up right away. You can update your
0 commit comments