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
82
+
SWIFTLY_HOME_DIR and SWIFTLY_BIN_DIR before running 'swiftly init' again.
83
+
84
+
"""
85
+
if !skipInstall {
86
+
msg +="""
87
+
88
+
Once swiftly is set up, it will install the latest available Swift toolchain. This can be
89
+
suppressed with the '--skip-install' option.
90
+
"""
68
91
#if os(Linux)
69
-
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."
92
+
msg +="""
93
+
In the process, swiftly will add swift.org
94
+
GnuPG keys into your keychain to verify the integrity of the downloads.
95
+
96
+
"""
70
97
#else
71
-
letsigMsg=""
98
+
msg +="\n"
72
99
#endif
73
-
letinstallMsg=if !skipInstall {
74
-
"\nOnce swiftly is installed it will install the latest available swift toolchain.\(sigMsg)\n"
75
-
}else{""}
100
+
}
101
+
if !noModifyProfile {
102
+
msg +="""
76
103
77
-
SwiftlyCore.print("""
78
-
Swiftly will be installed into the following locations:
104
+
For your convenience, swiftly will also attempt to modify your shell's profile file to make
105
+
installed items available in your environment upon login. This can be suppressed with the
106
+
'--no-modify-profile' option.
79
107
80
-
\(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
239
265
if pathChanged && !quietShellFollowup && !shell.hasSuffix("fish"){
240
266
SwiftlyCore.print("""
241
-
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.
267
+
Your shell caches items on your path for better performance. Swiftly has added
268
+
items to your path that may not get picked up right away. You can update your
0 commit comments